mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 10:38:34 +00:00
WIP merge (i'll finish this later)
This commit is contained in:
@ -37,7 +37,7 @@ public class ItemType {
|
||||
private int internalId;
|
||||
private BaseItem defaultState;
|
||||
|
||||
public ItemType(String id) {
|
||||
protected ItemType(String id) {
|
||||
// If it has no namespace, assume minecraft.
|
||||
if (!id.contains(":")) {
|
||||
id = "minecraft:" + id;
|
||||
|
@ -873,7 +873,7 @@ public final class ItemTypes {
|
||||
}
|
||||
|
||||
public static final @Nullable ItemType get(String id) {
|
||||
|
||||
return ItemType.REGISTRY.get(id);
|
||||
}
|
||||
|
||||
public static final @Nullable ItemType get(BlockType type) {
|
||||
|
Reference in New Issue
Block a user