mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 15:03:04 +00:00
Few more compile fixups
This commit is contained in:
1 parent
ade3bbad14
commit
f0e5baa8e5
2 files changed
+10
-8
No files matched your search
@@ -27,6 +27,7 @@ import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.EnumHand;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.RayTraceResult;
|
||||
import net.minecraft.util.math.Vec3d;
|
||||
import net.minecraft.util.text.ITextComponent;
|
||||
import net.minecraft.world.Explosion;
|
||||
import net.minecraft.world.World;
|
||||
@@ -133,7 +134,7 @@ public class ForgeEventFactory
|
||||
return onPlayerInteract(player, action, world, pos, face, null);
|
||||
}
|
||||
|
||||
public static PlayerInteractEvent onPlayerInteract(EntityPlayer player, Action action, World world, BlockPos pos, EnumFacing face, Vec3 localPos)
|
||||
public static PlayerInteractEvent onPlayerInteract(EntityPlayer player, Action action, World world, BlockPos pos, EnumFacing face, Vec3d localPos)
|
||||
{
|
||||
PlayerInteractEvent event = new PlayerInteractEvent(player, action, pos, face, world, localPos);
|
||||
MinecraftForge.EVENT_BUS.post(event);
|
||||
|
||||
Reference in new issue
Block a user