Skip to content

Commit

Permalink
Causes only track blocks, not locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
wizjany committed Sep 27, 2019
1 parent cb9ab3a commit d07f959
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -249,7 +249,7 @@ public void onStructureGrowEvent(StructureGrowEvent event) {


Player player = event.getPlayer(); Player player = event.getPlayer();
Events.fireBulkEventToCancel(event, new PlaceBlockEvent(event, Events.fireBulkEventToCancel(event, new PlaceBlockEvent(event,
create(player == null ? event.getLocation() : player), create(player == null ? event.getLocation().getBlock() : player),
event.getLocation().getWorld(), event.getBlocks())); event.getLocation().getWorld(), event.getBlocks()));


if (!event.isCancelled() && event.getBlocks().size() != originalCount) { if (!event.isCancelled() && event.getBlocks().size() != originalCount) {
Expand Down

0 comments on commit d07f959

Please sign in to comment.