Fix interacting with entities.

This commit is contained in:
Lex Manos committed 2014-11-28 12:04:09 -08:00
1 parent 5de6cf571c
commit 6bb769268f
1 file changed
+1 -1
@@ -336,7 +336,7 @@ public class ForgeEventFactory
public static boolean canInteractWith(EntityPlayer player, Entity entity)
{
return MinecraftForge.EVENT_BUS.post(new EntityInteractEvent(player, entity));
return !MinecraftForge.EVENT_BUS.post(new EntityInteractEvent(player, entity));
}
public static EnumStatus onPlayerSleepInBed(EntityPlayer player, BlockPos pos)