Trace Refactor #233
@ -157,16 +157,14 @@ public abstract class ViewFlag {
|
||||
Vector zVelocity = new Vector(0, 0, example.getVelocity().getZ());
|
||||
|
||||
Vector firstVelocity = xVelocity.getX() >= zVelocity.getZ() ? xVelocity : zVelocity;
|
||||
Vector secondVelocity = xVelocity.getX() <= zVelocity.getZ() ? xVelocity : zVelocity;
|
||||
|
||||
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);
|
||||
new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
||||
|
||||
pos = pos.add(secondVelocity);
|
||||
new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
||||
RFallingBlockEntity secound = new RFallingBlockEntity(server, pos, Material.WHITE_STAINED_GLASS);
|
||||
secound.setNoGravity(true);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren