WorldEdit autofreeze
Dieser Commit ist enthalten in:
Ursprung
8bf5a3b4cd
Commit
f79104e94e
@ -2,6 +2,7 @@ package de.steamwar.bausystem.commands;
|
||||
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.block.*;
|
||||
import org.bukkit.event.inventory.InventoryMoveItemEvent;
|
||||
|
||||
public class CommandFreeze extends ToggleCommand {
|
||||
|
||||
@ -55,4 +56,9 @@ public class CommandFreeze extends ToggleCommand {
|
||||
public void onBlockDispense(BlockDispenseEvent e){
|
||||
e.setCancelled(true);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onInventoryMoveEvent(InventoryMoveItemEvent e){
|
||||
e.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren