Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Commit

Permalink
Fixed the nullpointer issue, fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunnar Gudvardarson committed Jul 29, 2013
1 parent a457832 commit 9a4ac68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cc/kjarni/aetherous/coordfuscation/Coordfuscation.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ private Offset offsetCoords(Player player)
offX &= ~0x0F;
offY &= ~0x0F;

offsets.put(player, new Offset(offX, offY));
offset = new Offset(offX, offY);
offsets.put(player, offset);
}

return offset;
Expand Down

0 comments on commit 9a4ac68

Please sign in to comment.