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 ba260be commit 8a9a5ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class BuildBattle(plugin: GamePlugin) : Game, CompetitionImpl(plugin),
if (gameState !== GameState.PLAY) return
if (isDone) return
val location = playerData[plugin[event.player]]!![PLAYER_AREA] as Location
val aresSize = areaSize - 2
val aresSize = areaSize - 1
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 8a9a5ec

Please sign in to comment.