mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-03-26 13:40:33 +01:00
Causes only track blocks, not locations.
This commit is contained in:
parent
cb9ab3a7b2
commit
d07f95952d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user