Fix canRiderInteract being called on the wrong entity (#3934)

This commit is contained in:
Vincent Lee authored and LexManos committed 2017-06-01 14:35:05 -07:00
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)
{