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:
ckyuri 2025-04-12 14:10:54 +01:00
parent 227bfe7b29
commit 32cc4976c8

View File

@ -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