mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 23:04:08 +00:00
Merge branch 'dev' into player-anims
This commit is contained in:
commit
5f595fa7b6
1 file changed
+6
@@ -31,6 +31,12 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void allEnabled(boolean enabled) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
this.getPart(i).setEnabled(enabled);
|
||||
}
|
||||
}
|
||||
|
||||
public void allAnimated(boolean animated) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
this.getPart(i).setAnimated(animated);
|
||||
|
||||
Reference in new issue
Block a user