mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-22 12:59:46 +00:00
Some bugfixes and improvements
This commit is contained in:
1 parent
ff405853bf
commit
f975878a32
20 files changed
+68
-51
No files matched your search
@@ -2,14 +2,12 @@ package baubles.common;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
import baubles.common.event.EventHandlerEntity;
|
||||
import baubles.common.lib.CreativeTabBaubles;
|
||||
import baubles.common.lib.PlayerHandler;
|
||||
import baubles.common.network.EventHandlerNetwork;
|
||||
import baubles.common.network.PacketPipeline;
|
||||
@@ -40,13 +38,11 @@ public class Baubles {
|
||||
|
||||
public EventHandlerNetwork networkEventHandler;
|
||||
public EventHandlerEntity entityEventHandler;
|
||||
public PlayerHandler playerHandler;
|
||||
public File modDir;
|
||||
|
||||
public static final PacketPipeline packetPipeline = new PacketPipeline();
|
||||
public static final Logger logger = LogManager.getLogger("Baubles");
|
||||
public static final int GUI = 0;
|
||||
public static CreativeTabs tabBaubles = new CreativeTabBaubles(CreativeTabs.getNextID(), "baubles");
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
@@ -62,7 +58,6 @@ public class Baubles {
|
||||
}
|
||||
|
||||
entityEventHandler = new EventHandlerEntity();
|
||||
playerHandler = new PlayerHandler();
|
||||
|
||||
MinecraftForge.EVENT_BUS.register(entityEventHandler);
|
||||
FMLCommonHandler.instance().bus().register(new EventHandlerNetwork());
|
||||
|
||||
Reference in new issue
Block a user