mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-19 02:52:34 +00:00
remove 7.0 todo
This commit is contained in:
parent
42dcc9d9bd
commit
a7a7354c40
@ -20,14 +20,6 @@ public class BukkitUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType getEntityType(String id) {
|
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);
|
if(!id.startsWith("minecraft:")) throw new IllegalArgumentException("Invalid entity identifier " + id);
|
||||||
String entityID = id.toUpperCase(Locale.ROOT).substring(10);
|
String entityID = id.toUpperCase(Locale.ROOT).substring(10);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user