mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 03:07:34 +00:00
Fixed a small puppet offset client update bug.
This commit is contained in:
1 parent
d638c98d81
commit
b167755cc0
1 file changed
+3
-3
@@ -256,7 +256,7 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
|
||||
}
|
||||
|
||||
public void setOffsetX(int part, int offset) {
|
||||
if(getRotationZ(part) != offset)
|
||||
if(getOffsetX(part) != offset)
|
||||
npc.script.clientNeedsUpdate = true;
|
||||
|
||||
if(part == 0)
|
||||
@@ -274,7 +274,7 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
|
||||
}
|
||||
|
||||
public void setOffsetY(int part, int offset) {
|
||||
if(getRotationZ(part) != offset)
|
||||
if(getOffsetY(part) != offset)
|
||||
npc.script.clientNeedsUpdate = true;
|
||||
|
||||
if(part == 0)
|
||||
@@ -292,7 +292,7 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
|
||||
}
|
||||
|
||||
public void setOffsetZ(int part, int offset) {
|
||||
if(getRotationZ(part) != offset)
|
||||
if(getOffsetZ(part) != offset)
|
||||
npc.script.clientNeedsUpdate = true;
|
||||
|
||||
if(part == 0)
|
||||
|
||||
Reference in new issue
Block a user