mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix interacting with entities.
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user