Fix AxisMovementLimiter19 a bit
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2023-09-16 14:00:15 +02:00
Ursprung 4d26ba5166
Commit b787b96913
2 geänderte Dateien mit 6 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -49,14 +49,14 @@ public class AxisMovementLimiter19 {
this.movement = movement;
// Calculate the min and max values for the movement
minX = x - 0.49;
maxX = x + 0.49;
minX = x;
maxX = x + 0.98;
minY = y;
maxY = y + 0.98;
minZ = z - 0.49;
maxZ = z + 0.49;
minZ = z;
maxZ = z + 0.98;
switch (axis) {
case X:

Datei anzeigen

@ -85,7 +85,8 @@ public class TNT19 {
this.vz *= 0.7;
}
if (this.fuse-- <= 0) {
this.fuse--;
if (this.fuse <= 0) {
Explosion19 explosion = new Explosion19(this, x, y + 0.98 * 0.0625, z);
explosion.calculate(simulatorData);
return true;