Skip to content

Commit

Permalink
remove 7.0 todo
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Sep 25, 2024
1 parent 42dcc9d commit a7a7354
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ public static boolean isLiquid(BlockData blockState) {
}

public static EntityType getEntityType(String id) {
if(!id.contains(":")) { //TODO: remove in 7.0
String newid = "minecraft:" + id.toLowerCase();
;
logger.warn(
"Translating " + id + " to " + newid + ". In 1.20.3 entity parsing was reworked" +
". You are advised to perform this rename in your config backs as this translation will be removed in the next major " +
"version of Terra.");
}
if(!id.startsWith("minecraft:")) throw new IllegalArgumentException("Invalid entity identifier " + id);
String entityID = id.toUpperCase(Locale.ROOT).substring(10);

Expand Down

0 comments on commit a7a7354

Please sign in to comment.