This commit is contained in:
gnembon committed 2022-02-02 19:55:54 +01:00
1 parent 1432f06438
commit ac7da0c2ca
3 files changed
+3 -3

No files matched your search

@@ -508,7 +508,7 @@ public class OptimizedExplosion
private static void blastCalc(Explosion e){
ExplosionAccessor eAccess = (ExplosionAccessor) e;
if(blastChanceLocation == null || blastChanceLocation.distSqr(eAccess.getX(), eAccess.getY(), eAccess.getZ(), false) > 200) return;
if(blastChanceLocation == null || blastChanceLocation.distToLowCornerSqr(eAccess.getX(), eAccess.getY(), eAccess.getZ()) > 200) return;
chances.clear();
for (int j = 0; j < 16; ++j) {
for (int k = 0; k < 16; ++k) {