mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
Begin adding stricter null annotations to prepare for 1.11
This commit is contained in:
1 parent
4140ba7d7f
commit
16b955b443
330 files changed
+2302
-921
No files matched your search
@@ -14,7 +14,10 @@ import binnie.craftgui.minecraft.Window;
|
||||
import binnie.craftgui.resource.minecraft.CraftGUITexture;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class ControlErrorState extends Control implements ITooltip {
|
||||
@Nullable
|
||||
private ErrorState errorState;
|
||||
private int type;
|
||||
|
||||
@@ -92,6 +95,7 @@ public class ControlErrorState extends Control implements ITooltip {
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public ErrorState getErrorState() {
|
||||
return this.errorState;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user