Fixed Null Pointer.

This commit is contained in:
sigonasr2 2017-11-20 21:02:32 -06:00
parent 87ab40209b
commit 09f715c30b
2 changed files with 6 additions and 4 deletions

Binary file not shown.

View File

@ -295,6 +295,7 @@ public class RabiRaceModule extends Module{
} }
firstUpdate=false; firstUpdate=false;
} }
if (mySession!=null) {
for (Profile p : mySession.getPlayers()) { for (Profile p : mySession.getPlayers()) {
if (!p.username.equalsIgnoreCase(myProfile.username)) { if (!p.username.equalsIgnoreCase(myProfile.username)) {
if (!p.isPaused) { if (!p.isPaused) {
@ -304,6 +305,7 @@ public class RabiRaceModule extends Module{
} }
} }
} }
}
public void ApplyConfigWindowProperties() { public void ApplyConfigWindowProperties() {
sigIRC.rabiracemodule_X=(int)position.getX(); sigIRC.rabiracemodule_X=(int)position.getX();