I'm using Axiom on the server. It gets data from the server and the data is obviously fake. When I undo something, fake data replaces real data and now the world is made out of ores.
One way of fixing this I came up with is to just have a bypass permission.