Fix Missle Info
Dieser Commit ist enthalten in:
Ursprung
292a1fcf96
Commit
e2a8770142
@ -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);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren