Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/main/java/taintedmagic/common/TaintedMagic.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import taintedmagic.common.handler.ConfigHandler;
import taintedmagic.common.handler.TaintedMagicEventHandler;
import taintedmagic.common.handler.UpdateHandler;
import taintedmagic.common.lib.LibCreativeTab;
import taintedmagic.common.lib.LibStrings;
import taintedmagic.common.network.PacketHandler;
Expand Down Expand Up @@ -79,8 +78,6 @@ public static void preInit(FMLPreInitializationEvent event) {
RecipeRegistry.init();

OreDictionaryRegistry.init();

if (configHandler.useUpdateHandler) UpdateHandler.init();
}

// Init
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/taintedmagic/common/handler/ConfigHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public class ConfigHandler {

public static Configuration config;

public static boolean useUpdateHandler = true;
public static boolean researchTags = true;
public static boolean useCustomResearchTabBackground = false;
public static int magesMaceBaseDamage;
Expand All @@ -28,8 +27,6 @@ public static void init() {

config.load();

useUpdateHandler = config
.getBoolean("use_update_handler", "misc", true, "Should update notifications be enabled?");
researchTags = config.getBoolean(
"research_tags",
"research",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import net.minecraftforge.event.entity.player.ItemTooltipEvent;

import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent.ItemCraftedEvent;
import taintedmagic.api.IBloodlust;
import taintedmagic.common.helper.TaintedMagicHelper;
Expand Down Expand Up @@ -152,11 +151,6 @@ public void entityAttacked(LivingAttackEvent event) {
}
// End

@SubscribeEvent
public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent event) {
if (UpdateHandler.show) event.player.addChatMessage(new ChatComponentText(UpdateHandler.updateStatus));
}

@SubscribeEvent
public void onCrafting(ItemCraftedEvent event) {
if (event.crafting == new ItemStack(ItemRegistry.ItemWandCap, 1, 0)) {
Expand Down
52 changes: 0 additions & 52 deletions src/main/java/taintedmagic/common/handler/UpdateHandler.java

This file was deleted.