mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-18 02:22:32 +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:
parent
227bfe7b29
commit
32cc4976c8
@ -6,7 +6,7 @@ public class MinestomEntityType implements com.dfsek.terra.api.entity.EntityType
|
|||||||
private final EntityType delegate;
|
private final EntityType delegate;
|
||||||
|
|
||||||
public MinestomEntityType(String id) {
|
public MinestomEntityType(String id) {
|
||||||
delegate = EntityType.fromId(Integer.parseInt(id));
|
delegate = EntityType.fromKey(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user