mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-20 14:35:09 +01:00
parent
f5bcaa24f5
commit
778040a719
@ -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…
x
Reference in New Issue
Block a user