Skip to content

Commit

Permalink
Don't allow field marking while fields are still falling
Browse files Browse the repository at this point in the history
  • Loading branch information
lscgh committed Feb 9, 2024
1 parent 484b927 commit e9e0d01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mavenmcserver/src/main/java/mavenmcserver/game/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9e0d01

Please sign in to comment.