Fix NPE in AirScooter

This commit is contained in:
jedk1 2015-12-21 20:52:13 +00:00
parent 79d8a36d17
commit a91c165ce0

View file

@ -103,6 +103,10 @@ public class AirScooter implements ConfigLoadable {
}
public boolean progress() {
if (player.isDead() || !player.isOnline()) {
remove();
return false;
}
getFloor();
// Methods.verbose(player);
if (floorblock == null) {