Skip to content

Commit c2c1f98

Browse files
committed
fix missing cause on piston events
1 parent a1e3d93 commit c2c1f98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/spongepowered/common/event/tracking/TrackingUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public static boolean fireMinecraftBlockEvent(
328328
return tick.getAsBoolean();
329329
}
330330
final BlockEventTickContext phaseContext = TickPhase.Tick.BLOCK_EVENT.createPhaseContext(PhaseTracker.getWorldInstance(worldIn));
331-
phaseContext.source(source);
331+
phaseContext.source(blockEvent);
332332

333333
final UUID user = ((TrackableBlockEventDataBridge) (Object) event).bridge$getSourceUserUUID();
334334
if (user != null) {

0 commit comments

Comments
 (0)