mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Removed "id" field from EnumAnimationPart
This commit is contained in:
1 parent
6c9b74ceb0
commit
5af8a15de7
3 files changed
+10
-16
No files matched your search
@@ -772,7 +772,7 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
|
||||
public IFramePart createPart(int partId) {
|
||||
for (EnumAnimationPart part : EnumAnimationPart.values()) {
|
||||
if (part.id == partId) {
|
||||
if (part.ordinal() == partId) {
|
||||
return new FramePart(part);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user