mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-27 03:28:30 +01:00
update signs after trades
This commit is contained in:
parent
343291b210
commit
2086b8c978
@ -421,6 +421,12 @@ public class EssentialsSign
|
||||
{
|
||||
return block;
|
||||
}
|
||||
|
||||
public void updateSign()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -449,6 +455,11 @@ public class EssentialsSign
|
||||
{
|
||||
return block;
|
||||
}
|
||||
|
||||
public final void updateSign()
|
||||
{
|
||||
sign.update();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -459,5 +470,7 @@ public class EssentialsSign
|
||||
void setLine(final int index, final String text);
|
||||
|
||||
public Block getBlock();
|
||||
|
||||
void updateSign();
|
||||
}
|
||||
}
|
||||
|
@ -49,6 +49,7 @@ public class SignTrade extends EssentialsSign
|
||||
charge.charge(player);
|
||||
Trade.log("Sign", "Trade", "Interact", sign.getLine(3), charge, username, trade, ess);
|
||||
}
|
||||
sign.updateSign();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user