3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-06 08:02:50 +02:00
Dieser Commit ist enthalten in:
Jesse Boyd 2019-10-30 20:03:38 +01:00
Ursprung bddf92cd9b
Commit 558144696a
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F
2 geänderte Dateien mit 679 neuen und 685 gelöschten Zeilen

Datei anzeigen

@ -47,8 +47,6 @@ import java.util.stream.IntStream;
import javax.annotation.Nullable;
public class BlockType implements FawePattern, Keyed {
protected static final BlockType DUMMY = new BlockType();
public static final NamespacedRegistry<BlockType> REGISTRY = new NamespacedRegistry<>("block type");
private final String id;
@ -57,12 +55,6 @@ public class BlockType implements FawePattern, Keyed {
private boolean initItemType;
private ItemType itemType;
// Dummy
private BlockType() {
this.id = null;
this.settings = null;
}
protected BlockType(String id, int internalId, List<BlockState> states) {
int i = id.indexOf("[");
this.id = i == -1 ? id : id.substring(0, i);