use of me.wallhacks.spark.event.player.PlayerUpdateEvent in project Spark-Client by Spark-Client-Development.
the class MixinEntityPlayer method onUpdate.
@Inject(method = "onUpdate", at = @At("RETURN"))
public void onUpdate(final CallbackInfo info) {
if ((Object) this instanceof EntityPlayerSP) {
PlayerUpdateEvent event = new PlayerUpdateEvent();
Spark.eventBus.post(event);
Spark.switchManager.OnLateUpdate();
}
}
Aggregations