Fixed typo bug in MinecraftForge.getEntityTrackerInfo

This commit is contained in:
LexManos 2012-03-27 01:00:43 -07:00
parent 66b3c827cc
commit aa83f571c2

View file

@ -891,7 +891,7 @@ public class MinecraftForge
{ {
if (entry.getKey().isInstance(entity)) if (entry.getKey().isInstance(entity))
{ {
if (!checkSupers || entry.getKey() == entry.getClass()) if (!checkSupers || entry.getKey() == entity.getClass())
{ {
return entry.getValue(); return entry.getValue();
} }