Skip to content

Commit

Permalink
Fix interacting with entities.
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Nov 28, 2014
1 parent 5de6cf5 commit 6bb7692
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -336,7 +336,7 @@ public static void onPlayerDrops(EntityPlayer player, DamageSource cause, List<E

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)
Expand Down

0 comments on commit 6bb7692

Please sign in to comment.