SteamWar/MissileWars
Archiviert
13
0

Fix Missle Info

Dieser Commit ist enthalten in:
jojo 2020-09-18 21:26:35 +02:00
Ursprung 91d44aafa4
Commit 4ffb9d8b37

Datei anzeigen

@ -132,6 +132,7 @@ public class Missile extends SpecialItem {
private int count() {
int tntCount = 0;
BlockVector3 dimensions = clipboard.getDimensions();
Bukkit.getLogger().log(Level.SEVERE, clipboard.getBlock(BlockVector3.at(0, 0, 0)).getBlockType().toString());
for (int x = 0; x < dimensions.getX(); x++) {
for (int y = 0; y < dimensions.getY(); y++) {
for (int z = 0; z < dimensions.getZ(); z++) {
@ -141,7 +142,6 @@ public class Missile extends SpecialItem {
}
}
}
Bukkit.getLogger().log(Level.SEVERE, clipboard.getBlock(BlockVector3.at(0, 0, 0)).getBlockType().toString());
return tntCount;
}