SteamWar/MissileWars
Archiviert
13
0

Fix Missle Info

Dieser Commit ist enthalten in:
jojo 2020-09-18 20:45:48 +02:00
Ursprung 8d3cf79458
Commit aefc6f29be

Datei anzeigen

@ -58,13 +58,7 @@ public class Missile extends SpecialItem {
if (blockState != null) { if (blockState != null) {
tnt.add(blockState.toBaseBlock()); tnt.add(blockState.toBaseBlock());
} }
try { System.out.println(tnt);
Bukkit.getLogger().log(Level.SEVERE, blockState.toString());
Bukkit.getLogger().log(Level.SEVERE, BlockTypes.TNT.toString());
Bukkit.getLogger().log(Level.SEVERE, BlockTypes.TNT.getAllStates().toString());
} catch (Exception e) {
}
} }
private final Clipboard clipboard; private final Clipboard clipboard;
@ -99,6 +93,7 @@ public class Missile extends SpecialItem {
try { try {
lore.add("§7TNT §8: §e" + count()); lore.add("§7TNT §8: §e" + count());
} catch (Exception e) { } catch (Exception e) {
Bukkit.getLogger().log(Level.SEVERE, e.getMessage(), e.getCause());
lore.add("§7TNT §8: §e?"); lore.add("§7TNT §8: §e?");
} }