Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
e428006b6c
Commit
7330b4346b
@ -109,15 +109,6 @@ public class FreezeListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onBlockPlace(BlockPlaceEvent event) {
|
||||
if (Core.getVersion() < 19) return;
|
||||
if (Region.getRegion(event.getBlock().getLocation()).get(Flag.FREEZE) == FreezeMode.ACTIVE) {
|
||||
event.setCancelled(true);
|
||||
event.getBlock().setType(event.getItemInHand().getType(), false);
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onFluidLevelChange(FluidLevelChangeEvent e) {
|
||||
if (Region.getRegion(e.getBlock().getLocation()).get(Flag.FREEZE) == FreezeMode.ACTIVE) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren