mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 03:55:18 -04:00
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:
parent
0f5972ad81
commit
9823575786
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user