Make non-coop work again.

This commit is contained in:
sigonasr2 2020-03-21 03:36:37 +09:00
parent d469cc4b19
commit 6ddca772de
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -345,7 +345,7 @@ public class RabiRaceModule extends Module{
public void SyncItemsWithOtherPlayers() { public void SyncItemsWithOtherPlayers() {
boolean soundPlayed=false; boolean soundPlayed=false;
if (mySession!=null) { if (mySession!=null && mySession.isCoop()) {
for (Profile p : mySession.getPlayers()) { for (Profile p : mySession.getPlayers()) {
if (p!=myProfile && !p.isPaused && !myProfile.isPaused && p.username!=myProfile.username) { if (p!=myProfile && !p.isPaused && !myProfile.isPaused && p.username!=myProfile.username) {
boolean updateRequired=false; boolean updateRequired=false;