fix several compile errors from remapping

This commit is contained in:
Progwml6 2014-02-05 20:06:41 -05:00
parent ceb55012b2
commit 5cd8db4551
2 changed files with 3 additions and 3 deletions

View File

@ -44,9 +44,9 @@ public class StartupWarningGUI extends GuiScreen
//TODO: buttonList
this.buttonList.clear();
//TODO: buttonList
this.buttonList.add(new GuiButton(0, this.width / 2 - 175, this.height - 48, 350, 20, I18n.getStringParams("OK")));
this.buttonList.add(new GuiButton(0, this.width / 2 - 175, this.height - 48, 350, 20, I18n.format("OK")));
//TODO: buttonList
this.buttonList.add(new GuiButton(1, this.width / 2 - 175, this.height - 24, 350, 20, I18n.getStringParams("Cancel")));
this.buttonList.add(new GuiButton(1, this.width / 2 - 175, this.height - 24, 350, 20, I18n.format("Cancel")));
}
@Override

View File

@ -17,7 +17,7 @@ public class FlippersEventHandler
{
EntityLiving entity = (EntityLiving)event.entity;
ItemStack itemstack = entity.getCurrentItemOrArmor(1);
ItemStack itemstack = entity.getEquipmentInSlot(1);
if (entity.isInWater())
{