Dieser Commit ist enthalten in:
Ursprung
2cd3c3527e
Commit
45cc3abd0a
@ -157,16 +157,14 @@ public abstract class ViewFlag {
|
|||||||
Vector zVelocity = new Vector(0, 0, example.getVelocity().getZ());
|
Vector zVelocity = new Vector(0, 0, example.getVelocity().getZ());
|
||||||
|
|
||||||
Vector firstVelocity = xVelocity.getX() >= zVelocity.getZ() ? xVelocity : zVelocity;
|
Vector firstVelocity = xVelocity.getX() >= zVelocity.getZ() ? xVelocity : zVelocity;
|
||||||
Vector secondVelocity = xVelocity.getX() <= zVelocity.getZ() ? xVelocity : zVelocity;
|
|
||||||
|
|
||||||
pos = pos.add(yVelocity);
|
pos = pos.add(yVelocity);
|
||||||
new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
RFallingBlockEntity y = new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
||||||
|
y.setNoGravity(true);
|
||||||
|
|
||||||
pos = pos.add(firstVelocity);
|
pos = pos.add(firstVelocity);
|
||||||
new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
RFallingBlockEntity secound = new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
||||||
|
secound.setNoGravity(true);
|
||||||
pos = pos.add(secondVelocity);
|
|
||||||
new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren