package net.pietru.omni_power.mixins;

import finalforeach.cosmicreach.blockevents.BlockEvents;
import net.pietru.omni_power.OmniPower;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(BlockEvents.class)
public class BlockEventsMixin {

    @Inject(method = "initBlockEvents", at = @At("HEAD"))
    private static void omnipower_initBlockEvents(CallbackInfo ci){
        OmniPower.load_power_event();
    }
}
