mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-22 03:11:55 +00:00
parent
bf244fff80
commit
212442ab1c
|
@ -15,7 +15,7 @@ public class SignDisposal extends EssentialsSign
|
||||||
@Override
|
@Override
|
||||||
protected boolean onSignInteract(final ISign sign, final User player, final String username, final IEssentials ess)
|
protected boolean onSignInteract(final ISign sign, final User player, final String username, final IEssentials ess)
|
||||||
{
|
{
|
||||||
ShowInventory.showEmptyInventory(player);
|
ShowInventory.showEmptyInventory(player.getBase());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class SignFree extends EssentialsSign
|
||||||
}
|
}
|
||||||
|
|
||||||
item.setAmount(item.getType().getMaxStackSize() * 9 * 4);
|
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);
|
Trade.log("Sign", "Free", "Interact", username, null, username, new Trade(item, ess), sign.getBlock().getLocation(), ess);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue