Fix TNTListener
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
66eb89c186
Commit
abb106325a
@ -38,9 +38,6 @@ public class TNTListener implements Listener {
|
||||
@EventHandler
|
||||
public void onExplode(EntityExplodeEvent event) {
|
||||
event.blockList().removeIf(block -> {
|
||||
if (block.getType() == Material.TNT) {
|
||||
return false;
|
||||
}
|
||||
Region region = Region.getRegion(block.getLocation());
|
||||
TNTMode value = region.getPlain(Flag.TNT);
|
||||
if (value == TNTMode.ALLOW) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren