Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
27056e4842
Commit
bb3114ba61
@ -81,7 +81,7 @@ public class TeamArea implements Listener {
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void blockBreak(BlockBreakEvent event) {
|
public void blockBreak(BlockBreakEvent event) {
|
||||||
Block block = event.getBlock();
|
Block block = event.getBlock();
|
||||||
if(Config.BluePasteRegion.getMinY() >= block.getY())
|
if(Config.BluePasteRegion.getMinY() <= block.getY())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren