entity events will execute as that entity

This commit is contained in:
gnembon committed 2020-07-14 00:04:38 -03:00
1 parent e2f48d6d16
commit ce19dbe505
7 files changed
+28 -19

No files matched your search

@@ -23,6 +23,6 @@ public abstract class FallingBlockEntity_scarpetEventsMixin extends Entity
private void onTickCall(CallbackInfo ci)
{
// calling extra on_tick because falling blocks do not fall back to super tick call
((EntityInterface)this).getEventContainer().onEvent(EntityEventsGroup.EntityEventType.ON_TICK, this);
((EntityInterface)this).getEventContainer().onEvent(EntityEventsGroup.EntityEventType.ON_TICK);
}
}