Skip to content

Commit

Permalink
Clone location in CurrentLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Aug 5, 2013
1 parent f16d90e commit 71863c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/citizensnpcs/trait/CurrentLocation.java
Expand Up @@ -25,7 +25,7 @@ public void run() {
}

public void setLocation(Location loc) {
this.location = loc;
this.location = loc.clone();
}

@Override
Expand Down

0 comments on commit 71863c9

Please sign in to comment.