mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-17 15:46:44 +00:00
Fix NPE in AirScooter
This commit is contained in:
parent
79d8a36d17
commit
a91c165ce0
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue