mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
Fix Panels in Ground Issue
This commit is contained in:
1 parent
455d303971
commit
92cfbbcc9d
1 file changed
+4
-1
@@ -176,7 +176,10 @@ public class EntityAbilityPanel extends EntityAbilityBarrier {
|
||||
if (worldObj != null && worldObj.isRemote && mode == PanelMode.HELD && getOwnerEntity() != null) {
|
||||
return;
|
||||
}
|
||||
super.setPositionAndRotation2(x, y, z, yaw, pitch, posRotationIncrements);
|
||||
// Bypass vanilla's lerp + push-out-of-blocks logic which causes
|
||||
// large-BB entities (PLACED/LAUNCHED panels) to shift into the sky.
|
||||
this.setPosition(x, y, z);
|
||||
this.setRotation(yaw, pitch);
|
||||
}
|
||||
|
||||
private void updateLaunched() {
|
||||
|
||||
Reference in new issue
Block a user