From 57045791282b37389c622742ec10e72b530fbd0f Mon Sep 17 00:00:00 2001 From: Robert S Date: Thu, 19 Jun 2014 16:36:22 -0400 Subject: [PATCH] Change for RE laser event --- .../electrical/laser/gun/ItemMiningLaser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java b/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java index 5905db48..e65421a4 100644 --- a/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java +++ b/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java @@ -17,6 +17,7 @@ import net.minecraft.world.World; import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.MinecraftForge; import resonant.api.event.LaserEvent; +import resonant.api.event.LaserFiredPlayerEvent; import resonant.lib.prefab.vector.RayTraceHelper; import resonant.lib.type.Pair; import resonantinduction.core.ResonantInduction; @@ -120,7 +121,7 @@ public class ItemMiningLaser extends ItemEnergyTool if (hit != null) { - LaserEvent event = new LaserEvent.LaserFiredPlayerEvent(player, hit, stack); + LaserEvent event = new LaserFiredPlayerEvent(player, hit, stack); MinecraftForge.EVENT_BUS.post(event); if (!player.worldObj.isRemote && !event.isCanceled()) {