mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 13:49:05 +00:00
Refine mount GUI layout and flight handling
This commit is contained in:
1 parent
9744209938
commit
c33ac04d11
4 files changed
+63
-9
No files matched your search
@@ -236,6 +236,9 @@ public final class NPCMountUtil {
|
||||
npc.setNpcJumpingState(false);
|
||||
return;
|
||||
}
|
||||
if (npc.canFly()) {
|
||||
return;
|
||||
}
|
||||
if (npc.onGround) {
|
||||
npc.motionY = 0.0D;
|
||||
npc.setNpcFlyingState(false);
|
||||
|
||||
Reference in new issue
Block a user