mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-17 21:20:09 +01:00
27 lines
852 B
Java
27 lines
852 B
Java
|
/*
|
|||
|
* This file ("WorldLoadEvent.java") is part of the Actually Additions Mod for Minecraft.
|
|||
|
* It is created and owned by Ellpeck and distributed
|
|||
|
* under the Actually Additions License to be found at
|
|||
|
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
|||
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|||
|
*
|
|||
|
* <EFBFBD> 2015 Ellpeck
|
|||
|
*/
|
|||
|
|
|||
|
package ellpeck.actuallyadditions.event;
|
|||
|
|
|||
|
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
|||
|
import ellpeck.actuallyadditions.misc.LaserRelayConnectionHandler;
|
|||
|
import net.minecraftforge.event.world.WorldEvent;
|
|||
|
|
|||
|
public class WorldLoadEvent{
|
|||
|
|
|||
|
@SubscribeEvent
|
|||
|
public void onLoad(WorldEvent.Load event){
|
|||
|
if(LaserRelayConnectionHandler.getInstance() == null){
|
|||
|
LaserRelayConnectionHandler.setInstance(new LaserRelayConnectionHandler());
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
}
|