This commit is contained in:
Anuken
2023-07-23 15:19:21 -04:00
parent 05874ad3e2
commit 135874b922
5 changed files with 8 additions and 11 deletions

View File

@@ -489,7 +489,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
throw new ValidateException(player, "Player cannot configure a tile.");
}
build.configured(player == null || player.dead() ? null : player.unit(), value);
Core.app.post(() -> Events.fire(new ConfigEvent(build, player, value)));
Events.fire(new ConfigEvent(build, player, value));
}
//only useful for servers or local mods, and is not replicated across clients