From e9e0d01652338a6229fe1606ae67f719acba79a2 Mon Sep 17 00:00:00 2001 From: levischnorr Date: Fri, 9 Feb 2024 10:08:13 +0100 Subject: [PATCH] Don't allow field marking while fields are still falling --- mavenmcserver/src/main/java/mavenmcserver/game/Game.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mavenmcserver/src/main/java/mavenmcserver/game/Game.java b/mavenmcserver/src/main/java/mavenmcserver/game/Game.java index b16be5b..6a9152d 100644 --- a/mavenmcserver/src/main/java/mavenmcserver/game/Game.java +++ b/mavenmcserver/src/main/java/mavenmcserver/game/Game.java @@ -316,6 +316,8 @@ private void restoreOldBlocksFromBeforeGame() { * @param position */ public void placeAt(FieldPoint position) { + if(!this.didCompletePlace) return; + this.didCompletePlace = false; if(this.state.getStateAt(position) != FieldState.NEUTRAL) return;