mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Fixed /worldedit misspelling in SMWorldListener.onBlockDestroy.
This commit is contained in:
parent
5017a8fb38
commit
ce16f6e04d
@ -81,7 +81,7 @@ public class SMWorldEditListener extends PluginListener {
|
|||||||
public boolean onBlockDestroy(Player modPlayer, Block blockClicked) {
|
public boolean onBlockDestroy(Player modPlayer, Block blockClicked) {
|
||||||
if (!canUseCommand(modPlayer, "/editpos1")
|
if (!canUseCommand(modPlayer, "/editpos1")
|
||||||
&& !canUseCommand(modPlayer, "//")
|
&& !canUseCommand(modPlayer, "//")
|
||||||
&& !canUseCommand(modPlayer, "/wprldedit")) { return false; }
|
&& !canUseCommand(modPlayer, "/worldedit")) { return false; }
|
||||||
|
|
||||||
WorldEdit worldEdit = WorldEdit.getInstance();
|
WorldEdit worldEdit = WorldEdit.getInstance();
|
||||||
WorldEditPlayer player = new SMWorldEditPlayer(modPlayer);
|
WorldEditPlayer player = new SMWorldEditPlayer(modPlayer);
|
||||||
|
Loading…
Reference in New Issue
Block a user