SteamWar/MissileWars
Archiviert
13
0

Fix Missle Info

Dieser Commit ist enthalten in:
jojo 2020-09-06 19:00:53 +02:00
Ursprung 292a1fcf96
Commit e2a8770142

Datei anzeigen

@ -53,7 +53,7 @@ public class Missile extends SpecialItem {
static {
try {
tnt = WorldEdit.getInstance().getBlockFactory().parseFromListInput("minecraft:tnt", new ParserContext());
tnt = WorldEdit.getInstance().getBlockFactory().parseFromListInput("tnt", new ParserContext());
} catch (Exception e) {
}
@ -119,6 +119,9 @@ public class Missile extends SpecialItem {
}
private int count() {
if (tnt.isEmpty()) {
return 0;
}
return WorldEdit.getInstance().getEditSessionFactory().getEditSession(world, -1).countBlocks(clipboard.getRegion(), tnt);
}