Fix all damage bugs with lobby/spec area.
This simple little do'h has caused many issues, but no more, I say! NO MORE!
This commit is contained in:
@@ -526,7 +526,7 @@ public class ArenaListener
|
|||||||
|
|
||||||
public void onEntityDamage(EntityDamageEvent event) {
|
public void onEntityDamage(EntityDamageEvent event) {
|
||||||
Entity damagee = event.getEntity();
|
Entity damagee = event.getEntity();
|
||||||
if (!arena.isRunning() || !arena.getRegion().contains(damagee.getLocation())) {
|
if (!arena.isRunning() && !arena.getRegion().contains(damagee.getLocation())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user