Fix all (non-deprecation) compiler warnings (#3321)

* Fix all (non-deprecation) compiler warnings

* satisfy spotless

* use a method ref over a lambda
This commit is contained in:
Al Winfy authored and GitHub committed 2020-06-07 21:48:55 -05:00
1 parent a01f3fed15
commit cbc36366de
30 files changed
+55 -40

No files matched your search

@@ -510,7 +510,7 @@ public class EntityDoppleganger extends MobEntity implements IEntityAdditionalSp
private static int countGaiaGuardiansAround(World world, BlockPos source) {
float range = 15F;
List l = world.getEntitiesWithinAABB(EntityDoppleganger.class, new AxisAlignedBB(source.getX() + 0.5 - range, source.getY() + 0.5 - range, source.getZ() + 0.5 - range, source.getX() + 0.5 + range, source.getY() + 0.5 + range, source.getZ() + 0.5 + range));
List<EntityDoppleganger> l = world.getEntitiesWithinAABB(EntityDoppleganger.class, new AxisAlignedBB(source.getX() + 0.5 - range, source.getY() + 0.5 - range, source.getZ() + 0.5 - range, source.getX() + 0.5 + range, source.getY() + 0.5 + range, source.getZ() + 0.5 + range));
return l.size();
}