SteamWar/FightSystem
Archiviert
13
1

Fixed Inversion
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
MoBrot 2022-07-03 16:09:18 +02:00
Ursprung c245f4c2ba
Commit 1dad36c5dc

Datei anzeigen

@ -152,7 +152,7 @@ public class Permanent implements Listener {
@EventHandler @EventHandler
public void onBlockFromTo(BlockFromToEvent event) { public void onBlockFromTo(BlockFromToEvent event) {
if(event.getBlock().getType().equals(Material.DRAGON_EGG)) return; if(!event.getBlock().getType().equals(Material.DRAGON_EGG)) return;
for (FightTeam team : Fight.teams()) { for (FightTeam team : Fight.teams()) {
if(team.getExtendRegion().inRegion(event.getBlock())){ if(team.getExtendRegion().inRegion(event.getBlock())){