SteamWar/BauSystem
Archiviert
13
0

Simplify TraceEntity_12

Dieser Commit ist enthalten in:
jojo 2020-12-27 15:11:24 +01:00
Ursprung 2e097b9b21
Commit 8e012cb9ca

Datei anzeigen

@ -28,12 +28,10 @@ import org.bukkit.util.Vector;
class TraceEntity_12 extends EntityFallingBlock implements AbstractTraceEntity { class TraceEntity_12 extends EntityFallingBlock implements AbstractTraceEntity {
private Vector position;
private boolean tnt; private boolean tnt;
public TraceEntity_12(World world, Vector position, Player player, boolean exploded, boolean tnt) { public TraceEntity_12(World world, Vector position, Player player, boolean exploded, boolean tnt) {
super(((CraftWorld) world).getHandle(), position.getX(), position.getY(), position.getZ(), tnt ? Blocks.TNT.getBlockData() : Blocks.STAINED_GLASS.getBlockData()); super(((CraftWorld) world).getHandle(), position.getX(), position.getY(), position.getZ(), tnt ? Blocks.TNT.getBlockData() : Blocks.STAINED_GLASS.getBlockData());
this.position = position;
this.tnt = tnt; this.tnt = tnt;
this.setNoGravity(true); this.setNoGravity(true);