mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-04 14:31:19 +01:00
Fix vex NPCs having gravity on spawn
This commit is contained in:
parent
fd7b6c6fbf
commit
a1d1a6cc13
@ -42,6 +42,7 @@ public class VexController extends MobEntityController {
|
||||
if (npc != null) {
|
||||
NMSImpl.clearGoals(goalSelector, targetSelector);
|
||||
}
|
||||
setNoGravity(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -43,6 +43,7 @@ public class VexController extends MobEntityController {
|
||||
if (npc != null) {
|
||||
NMSImpl.clearGoals(goalSelector, targetSelector);
|
||||
}
|
||||
setNoGravity(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user