Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 08:02:50 +02:00
Like this @mattbdev ?
Dieser Commit ist enthalten in:
Ursprung
50b7b4fb54
Commit
bddf92cd9b
@ -47,6 +47,7 @@ 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");
|
||||
|
||||
@ -56,6 +57,12 @@ 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);
|
||||
|
Datei-Diff unterdrückt, da er zu groß ist
Diff laden
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren