mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix canRiderInteract being called on the wrong entity (#3934)
This commit is contained in:
1 parent
8ddbf3b0a8
commit
df52accf76
1 file changed
+1
-1
@@ -13,7 +13,7 @@
|
||||
if (d3 < d2 || d2 == 0.0D)
|
||||
{
|
||||
- if (entity1.func_184208_bv() == entity.func_184208_bv())
|
||||
+ if (entity1.func_184208_bv() == entity.func_184208_bv() && !entity.canRiderInteract())
|
||||
+ if (entity1.func_184208_bv() == entity.func_184208_bv() && !entity1.canRiderInteract())
|
||||
{
|
||||
if (d2 == 0.0D)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user