mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-23 08:30:39 +00:00
Bug Fix - Entity Type was parsing a value that was incorrect and causing issues to load the world.
EntityType.fromId(Integer.parseInt(id)); to delegate = EntityType.fromKey(id);
This commit is contained in:
1 parent
227bfe7b29
commit
32cc4976c8
1 file changed
+1
-1
+1
-1
@@ -6,7 +6,7 @@ public class MinestomEntityType implements com.dfsek.terra.api.entity.EntityType
|
||||
private final EntityType delegate;
|
||||
|
||||
public MinestomEntityType(String id) {
|
||||
delegate = EntityType.fromId(Integer.parseInt(id));
|
||||
delegate = EntityType.fromKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user