mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
Fixed permissions issue regarding the wand and super pick axe.
This commit is contained in:
parent
d63c8c113c
commit
5017a8fb38
@ -80,7 +80,8 @@ public class SMWorldEditListener extends PluginListener {
|
||||
@Override
|
||||
public boolean onBlockDestroy(Player modPlayer, Block blockClicked) {
|
||||
if (!canUseCommand(modPlayer, "/editpos1")
|
||||
&& !canUseCommand(modPlayer, "/.")) { return false; }
|
||||
&& !canUseCommand(modPlayer, "//")
|
||||
&& !canUseCommand(modPlayer, "/wprldedit")) { return false; }
|
||||
|
||||
WorldEdit worldEdit = WorldEdit.getInstance();
|
||||
WorldEditPlayer player = new SMWorldEditPlayer(modPlayer);
|
||||
|
Loading…
Reference in New Issue
Block a user