Skip to content

Commit

Permalink
Version 0.4
Browse files Browse the repository at this point in the history
 * Patched bug which threw an exception when a player tracked by a Beam changed worlds.
Big thanks to Phineas for pointing out this issue!
  • Loading branch information
jaxnb committed Apr 13, 2016
1 parent 1a9e550 commit ad8d880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net.jaxonbrown.guardianBeam</groupId>
<artifactId>GuardianBeamAPI</artifactId>
<packaging>jar</packaging>
<version>0.3</version>
<version>0.4</version>
<name>GuardianBeamAPI</name>
<url>https://github.com/MeRPG/GuardianBeamAPI</url>
<properties>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/jaxonbrown/guardianBeam/beam/Beam.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public void update() {

if(!player.getWorld().getUID().equals(this.worldUID)) {
this.viewers.remove(uuid);
return;
}

if(isCloseEnough(player.getLocation())) {
Expand Down

0 comments on commit ad8d880

Please sign in to comment.