deprecation annihilation

This commit is contained in:
Anuken
2022-02-14 22:29:55 -05:00
parent b07b81e8c5
commit 65161a4129
45 changed files with 28 additions and 1057 deletions

View File

@@ -70,19 +70,6 @@ public class TechTree{
return context;
}
/** @deprecated use {@link UnlockableContent#techNode} instead. */
@Deprecated
public static @Nullable TechNode get(UnlockableContent content){
return content.techNode;
}
/** @deprecated use {@link UnlockableContent#techNode} instead. */
@Deprecated
public static TechNode getNotNull(UnlockableContent content){
if(content.techNode == null) throw new RuntimeException(content + " does not have a tech node");
return content.techNode;
}
public static class TechNode{
/** Depth in tech tree. */
public int depth;