Use better message for when level isn't buildable/deletable and you are using a client that does not support BlockPermissions.

This commit is contained in:
UnknownShadow200 2016-09-07 12:32:36 +10:00
parent 0f5972ad81
commit 9823575786

View File

@ -251,10 +251,10 @@ namespace MCGalaxy {
RawHeldBlock = block;
if ((action == 0 || block == 0) && !level.Deletable) {
SendMessage("You cannot currently delete blocks in this level.");
SendMessage("Deleting blocks is disabled in this level.");
RevertBlock(x, y, z); return;
} else if (action == 1 && !level.Buildable) {
SendMessage("You cannot currently place blocks in this level.");
SendMessage("Placing blocks is disabled in this level.");
RevertBlock(x, y, z); return;
}