mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
parent
bf244fff80
commit
212442ab1c
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue