Don't send ready sign message when sign has a trigger

This commit is contained in:
Daniel Saukel 2020-04-07 21:05:08 +02:00
parent 83ad5e24d9
commit b89c3078b5

View File

@ -83,6 +83,7 @@ public class ReadySign extends Button {
@Override
public void initialize() {
((DGameWorld) getGameWorld()).setReadySign(this);
if (!getLine(2).isEmpty()) {
autoStart = NumberUtil.parseDouble(getLine(2), -1);
}
@ -103,8 +104,6 @@ public class ReadySign extends Button {
getSign().setLine(2, "");
getSign().setLine(3, ChatColor.DARK_BLUE + "############");
getSign().update();
((DGameWorld) getGameWorld()).setReadySign(this);
}
@Override