Skip to content

Commit c3b5c17

Browse files
committed
chore: not handle onBlockExploded cancellation
1 parent 2d3257b commit c3b5c17

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/lse/events/BlockEvents.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,11 @@ LL_TYPE_INSTANCE_HOOK(
243243
Actor* entitySource
244244
) {
245245
IF_LISTENED(EVENT_TYPES::onBlockExploded) {
246-
if (!CallEvent(
247-
EVENT_TYPES::onBlockExploded,
248-
BlockClass::newBlock(pos, region.getDimensionId()),
249-
EntityClass::newEntity(entitySource)
250-
)) {
251-
return;
252-
}
246+
CallEvent(
247+
EVENT_TYPES::onBlockExploded,
248+
BlockClass::newBlock(pos, region.getDimensionId()),
249+
EntityClass::newEntity(entitySource)
250+
);
253251
}
254252
IF_LISTENED_END(EVENT_TYPES::onBlockExploded);
255253
origin(region, pos, entitySource);

0 commit comments

Comments
 (0)