Remove some unused code (#1521)

This commit is contained in:
altrisi authored and GitHub committed 2022-08-09 16:21:01 +02:00
1 parent 94a729bae6
commit 1734930f7e
8 files changed
+2 -69

No files matched your search

@@ -20,7 +20,6 @@ public class ExplosionLogHelper
private final boolean createFire;
private final Explosion.BlockInteraction blockDestructionType;
public final Vec3 pos;
public final Entity entity;
private final float power;
private boolean affectBlocks = false;
private final Object2IntMap<EntityChangedStatusWithCount> impactedEntities = new Object2IntOpenHashMap<>();
@@ -29,8 +28,7 @@ public class ExplosionLogHelper
private static int explosionCountInCurretGT = 0;
private static boolean newTick;
public ExplosionLogHelper(Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.BlockInteraction blockDestructionType) {
this.entity = entity;
public ExplosionLogHelper(double x, double y, double z, float power, boolean createFire, Explosion.BlockInteraction blockDestructionType) {
this.power = power;
this.pos = new Vec3(x,y,z);
this.createFire = createFire;