Fixed Null Pointer.
This commit is contained in:
parent
87ab40209b
commit
09f715c30b
BIN
sigIRCv2.jar
BIN
sigIRCv2.jar
Binary file not shown.
@ -295,10 +295,12 @@ public class RabiRaceModule extends Module{
|
|||||||
}
|
}
|
||||||
firstUpdate=false;
|
firstUpdate=false;
|
||||||
}
|
}
|
||||||
for (Profile p : mySession.getPlayers()) {
|
if (mySession!=null) {
|
||||||
if (!p.username.equalsIgnoreCase(myProfile.username)) {
|
for (Profile p : mySession.getPlayers()) {
|
||||||
if (!p.isPaused) {
|
if (!p.username.equalsIgnoreCase(myProfile.username)) {
|
||||||
p.playtime += myProfile.playtime-myProfile.getArchive().playtime;
|
if (!p.isPaused) {
|
||||||
|
p.playtime += myProfile.playtime-myProfile.getArchive().playtime;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user