Skip to content

Commit

Permalink
Fixes #32
Browse files Browse the repository at this point in the history
  • Loading branch information
austinv11 committed Mar 2, 2015
1 parent 2b308e7 commit d087be0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class GuiSmartHelmetOverlay extends Gui {

@SubscribeEvent
public void renderOverlay(RenderGameOverlayEvent.Post event) {
if (/*event.isCanceled() || */event.type != RenderGameOverlayEvent.ElementType.FOOD)
if (/*event.isCanceled() || */event.type != RenderGameOverlayEvent.ElementType.CROSSHAIRS)
return;
if (Minecraft.getMinecraft().thePlayer.getCurrentArmor(3) != null && Minecraft.getMinecraft().thePlayer.getCurrentArmor(3).getItem() instanceof ItemSmartHelmet)
if (NBTHelper.hasTag(Minecraft.getMinecraft().thePlayer.getCurrentArmor(3), "identifier")) {
Expand Down

0 comments on commit d087be0

Please sign in to comment.