Skip to content

Commit

Permalink
Merge pull request #3 from addstar/master
Browse files Browse the repository at this point in the history
Remove null player check on PlayersTeleportBackLocation - This is always...
  • Loading branch information
Absentee23 committed Apr 24, 2015
2 parents ef741a0 + d9864fb commit 0fa8006
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void receivePluginMessage(PluginMessageEvent event) throws IOException, S
}

if (task.equals("PlayersTeleportBackLocation")) {
GSPlayer player = PlayerManager.getPlayer(in.readUTF(), true);
GSPlayer player = PlayerManager.getPlayer(in.readUTF());
if (player != null) {
TeleportManager.setPlayersTeleportBackLocation(player, new Location(((Server) event.getSender()).getInfo(), in.readUTF(), in.readDouble(), in.readDouble(), in.readDouble(), in.readFloat(), in.readFloat()));
}
Expand Down

0 comments on commit 0fa8006

Please sign in to comment.