SteamWar/BauSystem2.0
Archiviert
12
0

Fixed Advanced flag having gravity
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
D4rkr34lm 2024-03-14 12:31:17 +01:00
Ursprung 2cd3c3527e
Commit 45cc3abd0a

Datei anzeigen

@ -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);
}
}
};