Skip to content

Commit

Permalink
fix: issue #230
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce0203 committed Dec 16, 2022
1 parent 824f831 commit 790a027
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class BuildBattle(plugin: GamePlugin) : Game, CompetitionImpl(plugin),
if (gameState !== GameState.PLAY) return
if (isDone) return
val location = plugin[event.player][PLAYER_AREA] as Location
val aresSize = areaSize - 1
val aresSize = areaSize - 2
if (!event.block.location.toVector().isInAABB(
location.clone().subtract(aresSize, aresSize, aresSize).toVector(),
location.clone().add(aresSize, aresSize, aresSize).toVector(),
Expand Down

0 comments on commit 790a027

Please sign in to comment.