fix several compile errors from remapping
This commit is contained in:
parent
ceb55012b2
commit
5cd8db4551
2 changed files with 3 additions and 3 deletions
|
@ -44,9 +44,9 @@ public class StartupWarningGUI extends GuiScreen
|
||||||
//TODO: buttonList
|
//TODO: buttonList
|
||||||
this.buttonList.clear();
|
this.buttonList.clear();
|
||||||
//TODO: buttonList
|
//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
|
//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
|
@Override
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class FlippersEventHandler
|
||||||
{
|
{
|
||||||
EntityLiving entity = (EntityLiving)event.entity;
|
EntityLiving entity = (EntityLiving)event.entity;
|
||||||
|
|
||||||
ItemStack itemstack = entity.getCurrentItemOrArmor(1);
|
ItemStack itemstack = entity.getEquipmentInSlot(1);
|
||||||
|
|
||||||
if (entity.isInWater())
|
if (entity.isInWater())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue