Fix NullPointer for syncing items with other players.

master
sigonasr2 5 years ago
parent 0644cd10a7
commit 172482beda
  1. BIN
      sigIRCv2.jar
  2. 2
      src/sig/modules/RabiRaceModule.java

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…
Cancel
Save