Tracer-entity #147
@ -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);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren