update signs after trades

This commit is contained in:
ementalo 2011-07-08 12:00:18 +01:00
parent 343291b210
commit 2086b8c978
2 changed files with 14 additions and 0 deletions

View File

@ -421,6 +421,12 @@ public class EssentialsSign
{ {
return block; return block;
} }
public void updateSign()
{
return;
}
} }
@ -449,6 +455,11 @@ public class EssentialsSign
{ {
return block; return block;
} }
public final void updateSign()
{
sign.update();
}
} }
@ -459,5 +470,7 @@ public class EssentialsSign
void setLine(final int index, final String text); void setLine(final int index, final String text);
public Block getBlock(); public Block getBlock();
void updateSign();
} }
} }

View File

@ -49,6 +49,7 @@ public class SignTrade extends EssentialsSign
charge.charge(player); charge.charge(player);
Trade.log("Sign", "Trade", "Interact", sign.getLine(3), charge, username, trade, ess); Trade.log("Sign", "Trade", "Interact", sign.getLine(3), charge, username, trade, ess);
} }
sign.updateSign();
return true; return true;
} }