Moved Nullable to utils package
This commit is contained in:
@@ -2,7 +2,7 @@ package mindustry.content;
|
||||
|
||||
import arc.*;
|
||||
import arc.struct.*;
|
||||
import arc.util.ArcAnnotate.*;
|
||||
import arc.util.*;
|
||||
import mindustry.ctype.*;
|
||||
import mindustry.game.Objectives.*;
|
||||
import mindustry.type.*;
|
||||
@@ -571,7 +571,8 @@ public class TechTree implements ContentList{
|
||||
return node(block, () -> {});
|
||||
}
|
||||
|
||||
public static @Nullable TechNode get(UnlockableContent content){
|
||||
public static @Nullable
|
||||
TechNode get(UnlockableContent content){
|
||||
return map.get(content);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user