Removed the notice thing, wasn' working anyway

This commit is contained in:
jaredlll08 committed 2015-06-23 16:03:10 +02:00
1 parent c500a5a580
commit cc0f2fdc7a
9 files changed
+1 -48

No files matched your search

+1 -7
View File
@@ -15,7 +15,7 @@ import cpw.mods.fml.common.eventhandler.SubscribeEvent;
public class ClientEvents {
public static int cooldown;
public static boolean active;
public static String notice = EnumChatFormatting.DARK_RED + "This item's recipe has been changed by ModTweaker.";
@SubscribeEvent
public void onDrawTooltip(ItemTooltipEvent event) {
@@ -23,7 +23,6 @@ public static String notice = EnumChatFormatting.DARK_RED + "This item's recipe
if (player != null) {
IItemStack hand = MineTweakerMC.getIItemStack(event.itemStack);
if (hand != null) {
if (active) {
String print = hand.toString();
@@ -38,11 +37,6 @@ public static String notice = EnumChatFormatting.DARK_RED + "This item's recipe
cooldown--;
}
for (ItemStack stack : TweakerPlugin.changed) {
if (stack.isItemEqual(event.itemStack) && event.toolTip.contains(notice)) {
event.toolTip.add(notice);
}
}
}
}
}