mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-12 13:19:33 +00:00
Switching trade sign flag
This commit is contained in:
parent
4bc3d5efad
commit
2c787e07ec
|
@ -20,7 +20,7 @@ public class SignTrade extends EssentialsSign
|
||||||
{
|
{
|
||||||
validateTrade(sign, 1, false, ess);
|
validateTrade(sign, 1, false, ess);
|
||||||
validateTrade(sign, 2, true, ess);
|
validateTrade(sign, 2, true, ess);
|
||||||
final Trade charge = getTrade(sign, 2, true, true, ess);
|
final Trade charge = getTrade(sign, 2, true, false, ess);
|
||||||
charge.isAffordableFor(player);
|
charge.isAffordableFor(player);
|
||||||
sign.setLine(3, "§8" + username);
|
sign.setLine(3, "§8" + username);
|
||||||
charge.charge(player);
|
charge.charge(player);
|
||||||
|
|
Loading…
Reference in a new issue