Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
050fb069a7
Commit
acf31ec6ec
@ -70,7 +70,7 @@ public class DenyWorldInteraction implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void handleEntityExplode(EntityExplodeEvent event) {
|
public void handleEntityExplode(EntityExplodeEvent event) {
|
||||||
if(Config.ArenaRegion.inRegion(event.getLocation()))
|
if(!Config.ArenaLeaveable || Config.ArenaRegion.inRegion(event.getLocation()))
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren