diff --git a/pom.xml b/pom.xml index eb3b58c..2d51add 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ net.jaxonbrown.guardianBeam GuardianBeamAPI jar - 0.3 + 0.4 GuardianBeamAPI https://github.com/MeRPG/GuardianBeamAPI diff --git a/src/main/java/net/jaxonbrown/guardianBeam/beam/Beam.java b/src/main/java/net/jaxonbrown/guardianBeam/beam/Beam.java index 30ba3e2..005b581 100644 --- a/src/main/java/net/jaxonbrown/guardianBeam/beam/Beam.java +++ b/src/main/java/net/jaxonbrown/guardianBeam/beam/Beam.java @@ -165,6 +165,7 @@ public void update() { if(!player.getWorld().getUID().equals(this.worldUID)) { this.viewers.remove(uuid); + return; } if(isCloseEnough(player.getLocation())) {