Fixes equals check for arena ids

This commit is contained in:
Kristian Knarvik 2023-04-07 14:16:47 +02:00
parent f6a272b0c0
commit 5be6f0d00e

View File

@ -160,7 +160,7 @@ public class DropperArenaGroup implements ConfigurationSerializable {
for (UUID anArenaId : this.getArenas()) {
// If the target arena is reached, allow, as all previous arenas must have been cleared
if (arenaId == anArenaId) {
if (arenaId.equals(anArenaId)) {
return true;
}