Fixing inventory method calls.

Bug report: http://pastie.org/2901587
This commit is contained in:
KHobbits 2011-11-22 04:55:21 +00:00
parent bf244fff80
commit 212442ab1c
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ public class SignDisposal extends EssentialsSign
@Override
protected boolean onSignInteract(final ISign sign, final User player, final String username, final IEssentials ess)
{
ShowInventory.showEmptyInventory(player);
ShowInventory.showEmptyInventory(player.getBase());
return true;
}
}

View File

@ -33,7 +33,7 @@ public class SignFree extends EssentialsSign
}
item.setAmount(item.getType().getMaxStackSize() * 9 * 4);
ShowInventory.showFilledInventory(player, item);
ShowInventory.showFilledInventory(player.getBase(), item);
Trade.log("Sign", "Free", "Interact", username, null, username, new Trade(item, ess), sign.getBlock().getLocation(), ess);
return true;
}