mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 04:22:32 +00:00
Clean up more null issues
This commit is contained in:
1 parent
1fa461430e
commit
4abbc92472
142 files changed
+707
-617
No files matched your search
@@ -72,7 +72,12 @@ public class Forestry {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static PacketHandler packetHandler;
|
||||
private static PacketHandler packetHandler;
|
||||
|
||||
public static PacketHandler getPacketHandler() {
|
||||
Preconditions.checkState(packetHandler != null);
|
||||
return packetHandler;
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
|
||||
Reference in new issue
Block a user