mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-18 11:29:30 +00:00
Micro-Fix: Useless null check
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user