SteamWar/BauSystem2.0
Archiviert
12
0

Update TNTSimulator once again
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-12-10 22:53:02 +01:00
Ursprung e947224c1b
Commit 873b97f70d

Datei anzeigen

@ -461,7 +461,17 @@ public class TNTSimulator {
})); }));
// Velocity Settings // Velocity Settings
swInventory.setItem(38, Material.TNT, "TNT", clickType -> { swInventory.setItem(38, Material.TNT, "§7TNT", clickType -> {
if (xVelocity || yVelocity || zVelocity) {
xVelocity = false;
yVelocity = false;
zVelocity = false;
} else {
xVelocity = true;
yVelocity = true;
zVelocity = true;
}
editTNT();
}); });
swInventory.setItem(46, new SWItem(getWool(xVelocity), getColor(xVelocity), "§7TNT §eSprung X §8- " + active(xVelocity), clickType -> { swInventory.setItem(46, new SWItem(getWool(xVelocity), getColor(xVelocity), "§7TNT §eSprung X §8- " + active(xVelocity), clickType -> {
xVelocity = !xVelocity; xVelocity = !xVelocity;