remove a few warnings
This commit is contained in:
1 parent
3bec43fbc8
commit
6ac249968a
41 files changed
+122
-137
No files matched your search
@@ -333,7 +333,7 @@ public class OptimizedExplosion
|
||||
|
||||
private static void getAffectedPositionsOnPlaneX(Explosion e, int x, int yStart, int yEnd, int zStart, int zEnd)
|
||||
{
|
||||
if (rayCalcDone == false)
|
||||
if (!rayCalcDone)
|
||||
{
|
||||
final double xRel = (double) x / 15.0D * 2.0D - 1.0D;
|
||||
|
||||
@@ -356,7 +356,7 @@ public class OptimizedExplosion
|
||||
|
||||
private static void getAffectedPositionsOnPlaneY(Explosion e, int y, int xStart, int xEnd, int zStart, int zEnd)
|
||||
{
|
||||
if (rayCalcDone == false)
|
||||
if (!rayCalcDone)
|
||||
{
|
||||
final double yRel = (double) y / 15.0D * 2.0D - 1.0D;
|
||||
|
||||
@@ -379,7 +379,7 @@ public class OptimizedExplosion
|
||||
|
||||
private static void getAffectedPositionsOnPlaneZ(Explosion e, int z, int xStart, int xEnd, int yStart, int yEnd)
|
||||
{
|
||||
if (rayCalcDone == false)
|
||||
if (!rayCalcDone)
|
||||
{
|
||||
final double zRel = (double) z / 15.0D * 2.0D - 1.0D;
|
||||
|
||||
|
||||
Reference in new issue
Block a user