forked from SteamWar/SteamWar
First 1.21.3 drafts
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@ public class EventListener implements Listener {
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGH)
|
||||
public void onEntitySpawn(EntitySpawnEvent event) {
|
||||
if (event.getEntityType() != EntityType.PRIMED_TNT) {
|
||||
if (event.getEntityType().name().equals("tnt")) {
|
||||
return;
|
||||
}
|
||||
Region tntRegion = Region.getRegion(event.getLocation());
|
||||
|
||||
Reference in New Issue
Block a user