mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Fix effect manager
This commit is contained in:
@@ -51,12 +51,8 @@ public class IrisEngineEffects extends EngineAssignedComponent implements Engine
|
|||||||
for (Player i : pr) {
|
for (Player i : pr) {
|
||||||
Location l = i.getLocation();
|
Location l = i.getLocation();
|
||||||
boolean pcc = players.containsKey(i.getUniqueId());
|
boolean pcc = players.containsKey(i.getUniqueId());
|
||||||
if (getEngine().contains(l)) {
|
if (!pcc) {
|
||||||
if (!pcc) {
|
players.put(i.getUniqueId(), new EnginePlayer(getEngine(), i));
|
||||||
players.put(i.getUniqueId(), new EnginePlayer(getEngine(), i));
|
|
||||||
}
|
|
||||||
} else if (pcc) {
|
|
||||||
players.remove(i.getUniqueId());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user