Micro-Fix: Useless null check

This commit is contained in:
HenryLoenwind committed 2015-03-20 16:50:55 +01:00
1 parent 6d8cf393d9
commit 86c3fdba2e
1 file changed
+1 -1
@@ -65,7 +65,7 @@ public class MagnetController implements IEntitySelector {
List<Entity> interestingItems = player.worldObj.selectEntitiesWithinAABB(EntityItem.class, aabb, this);
List<Entity> xp = player.worldObj.selectEntitiesWithinAABB(EntityXPOrb.class, aabb, this);
if(xp != null) {
if(!xp.isEmpty()) {
interestingItems.addAll(xp);
}