Fix interacting with entities.

This commit is contained in:
Lex Manos 2014-11-28 12:04:09 -08:00
parent 5de6cf571c
commit 6bb769268f

View file

@ -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)