mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-30 17:59:53 +02:00
update signs after trades
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user