Skip to content
Permalink
Browse files

Causes only track blocks, not locations.

  • Loading branch information...
wizjany committed Sep 27, 2019
1 parent cb9ab3a commit d07f95952db4fdb2a6c4bba9000dd8b7b22f1358
@@ -249,7 +249,7 @@ public void onStructureGrowEvent(StructureGrowEvent event) {

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

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

0 comments on commit d07f959

Please sign in to comment.
You can’t perform that action at this time.