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;
|
||||
}
|
||||
for (Profile p : mySession.getPlayers()) {
|
||||
if (!p.username.equalsIgnoreCase(myProfile.username)) {
|
||||
if (!p.isPaused) {
|
||||
p.playtime += myProfile.playtime-myProfile.getArchive().playtime;
|
||||
if (mySession!=null) {
|
||||
for (Profile p : mySession.getPlayers()) {
|
||||
if (!p.username.equalsIgnoreCase(myProfile.username)) {
|
||||
if (!p.isPaused) {
|
||||
p.playtime += myProfile.playtime-myProfile.getArchive().playtime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user