fix crash when hiding temporarily shown zones

This commit is contained in:
Peter F. Patel-Schneider
2019-02-04 14:24:34 -05:00
parent 43cca9b635
commit efe71e8384

View File

@@ -457,6 +457,7 @@ public final class CMatchUI
@Override
public void hideZones(final PlayerView controller, final Iterable<PlayerZoneUpdate> zonesToUpdate) {
if ( zonesToUpdate != null ) {
for (final PlayerZoneUpdate update : zonesToUpdate) {
final PlayerView player = update.getPlayer();
for (final ZoneType zone : update.getZones()) {
@@ -477,6 +478,7 @@ public final class CMatchUI
}
}
}
}
// Player's mana pool changes
@Override