Fix NullPointer for syncing items with other players.
This commit is contained in:
parent
0644cd10a7
commit
172482beda
BIN
sigIRCv2.jar
BIN
sigIRCv2.jar
Binary file not shown.
@ -241,6 +241,7 @@ public class RabiRaceModule extends Module{
|
|||||||
|
|
||||||
public void SyncItemsWithOtherPlayers() {
|
public void SyncItemsWithOtherPlayers() {
|
||||||
boolean soundPlayed=false;
|
boolean soundPlayed=false;
|
||||||
|
if (mySession!=null) {
|
||||||
for (Profile p : mySession.getPlayers()) {
|
for (Profile p : mySession.getPlayers()) {
|
||||||
if (p!=myProfile && !p.isPaused) {
|
if (p!=myProfile && !p.isPaused) {
|
||||||
boolean updateRequired=false;
|
boolean updateRequired=false;
|
||||||
@ -294,6 +295,7 @@ public class RabiRaceModule extends Module{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void UpdateRange(MemoryOffset start, MemoryOffset end, String i) {
|
private void UpdateRange(MemoryOffset start, MemoryOffset end, String i) {
|
||||||
/*int f=63;
|
/*int f=63;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user