SPIGOT-7664: Item meta should prevail over block states
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
}
|
||||
};
|
||||
private static final String REMOVED_PREFIX = "!";
|
||||
@@ -270,6 +270,38 @@
|
||||
@@ -270,6 +270,42 @@
|
||||
|
||||
a() {}
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
+ this.map.remove(type);
|
||||
+ }
|
||||
+
|
||||
+ public boolean isSet(DataComponentType<?> type) {
|
||||
+ return map.containsKey(type);
|
||||
+ }
|
||||
+
|
||||
+ public boolean isEmpty() {
|
||||
+ return this.map.isEmpty();
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user