Nukkit-coders / MobPlugin

Add animals and monsters including AI, spawning and spawners to Cloudburst Nukkit
https://nukkitx.com/resources/mobplugin.3/
87 stars 51 forks source link

tick error when entity swimming #215

Closed SS-YG closed 3 years ago

SS-YG commented 3 years ago

17:23:14 [ERROR] nukkit.level.tickError java.lang.NullPointerException: null at nukkitcoders.mobplugin.entities.animal.swimming.Dolphin.targetOption(Dolphin.java:60) ~[MobPlugin.jar:?] at nukkitcoders.mobplugin.entities.SwimmingEntity.checkTarget(SwimmingEntity.java:49) ~[MobPlugin.jar:?] at nukkitcoders.mobplugin.entities.SwimmingEntity.updateMove(SwimmingEntity.java:123) ~[MobPlugin.jar:?] at nukkitcoders.mobplugin.entities.animal.SwimmingAnimal.onUpdate(SwimmingAnimal.java:43) ~[MobPlugin.jar:?] at cn.nukkit.level.Level.doTick(Level.java:942) ~[PN.jar:?] at cn.nukkit.Server.checkTickUpdates(Server.java:1279) [PN.jar:?] at cn.nukkit.Server.tick(Server.java:1361) [PN.jar:?] at cn.nukkit.Server.tickProcessor(Server.java:1125) [PN.jar:?] at cn.nukkit.Server.start(Server.java:1085) [PN.jar:?] at cn.nukkit.Server.(Server.java:762) [PN.jar:?] at cn.nukkit.Nukkit.main(Nukkit.java:120) [PN.jar:?]