Fix vex NPCs having gravity on spawn

This commit is contained in:
fullwall 2018-03-15 17:10:23 +08:00
parent fd7b6c6fbf
commit a1d1a6cc13
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ public class VexController extends MobEntityController {
if (npc != null) {
NMSImpl.clearGoals(goalSelector, targetSelector);
}
setNoGravity(true);
}
@Override

View File

@ -43,6 +43,7 @@ public class VexController extends MobEntityController {
if (npc != null) {
NMSImpl.clearGoals(goalSelector, targetSelector);
}
setNoGravity(true);
}
@Override