Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-07 20:10:06 +01:00
Fixed permissions issue regarding the wand and super pick axe.
Dieser Commit ist enthalten in:
Ursprung
d63c8c113c
Commit
5017a8fb38
@ -80,7 +80,8 @@ public class SMWorldEditListener extends PluginListener {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onBlockDestroy(Player modPlayer, Block blockClicked) {
|
public boolean onBlockDestroy(Player modPlayer, Block blockClicked) {
|
||||||
if (!canUseCommand(modPlayer, "/editpos1")
|
if (!canUseCommand(modPlayer, "/editpos1")
|
||||||
&& !canUseCommand(modPlayer, "/.")) { return false; }
|
&& !canUseCommand(modPlayer, "//")
|
||||||
|
&& !canUseCommand(modPlayer, "/wprldedit")) { return false; }
|
||||||
|
|
||||||
WorldEdit worldEdit = WorldEdit.getInstance();
|
WorldEdit worldEdit = WorldEdit.getInstance();
|
||||||
WorldEditPlayer player = new SMWorldEditPlayer(modPlayer);
|
WorldEditPlayer player = new SMWorldEditPlayer(modPlayer);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren