While toying in the code I found setting canPlayerEdit in EntityPlayer to false disables the ability to break or place blocks in single player. But setting this in the server code only stops the placing of blocks, you can still break them.
I found it odd that the command doesn't work the same, and I cant seem to find one to finish the job.
Anyone know how to stop the breaking of all blocks server side?
I found it odd that the command doesn't work the same, and I cant seem to find one to finish the job.
Anyone know how to stop the breaking of all blocks server side?