mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Fix Laser Relay Network. Damn it.
This commit is contained in:
parent
1cab983658
commit
42a6401c0d
2 changed files with 3 additions and 8 deletions
|
@ -117,10 +117,6 @@ public class ActuallyAdditions{
|
|||
Util.registerDispenserHandler(Items.bucket, new DispenserHandlerFillBucket());
|
||||
Util.registerDispenserHandler(InitItems.itemFertilizer, new DispenserHandlerFertilize());
|
||||
|
||||
if(LaserRelayConnectionHandler.getInstance() == null){
|
||||
LaserRelayConnectionHandler.setInstance(new LaserRelayConnectionHandler());
|
||||
}
|
||||
|
||||
WorldData.init(event.getServer());
|
||||
}
|
||||
|
||||
|
|
|
@ -31,11 +31,10 @@ public class LaserRelayConnectionHandler{
|
|||
public ConcurrentSet<Network> networks = new ConcurrentSet<Network>();
|
||||
|
||||
public static LaserRelayConnectionHandler getInstance(){
|
||||
return instance;
|
||||
if(instance == null){
|
||||
instance = new LaserRelayConnectionHandler();
|
||||
}
|
||||
|
||||
public static void setInstance(LaserRelayConnectionHandler i){
|
||||
instance = i;
|
||||
return instance;
|
||||
}
|
||||
|
||||
public NBTTagCompound writeNetworkToNBT(Network network){
|
||||
|
|
Loading…
Reference in a new issue