Fix ReflectionManager for 1.18.2
This commit is contained in:
parent
0411e4bcc6
commit
d69b920ec7
@ -452,7 +452,7 @@ public class ReflectionManager implements ReflectionManagerAbstract {
|
||||
|
||||
public ItemMeta getDeserializedItemMeta(Map<String, Object> meta) {
|
||||
try {
|
||||
Class<?> aClass = Class.forName("org.bukkit.craftbukkit.v1_18_R1.inventory.CraftMetaItem$SerializableMeta");
|
||||
Class<?> aClass = Class.forName("org.bukkit.craftbukkit.v1_18_R2.inventory.CraftMetaItem$SerializableMeta");
|
||||
Method deserialize = aClass.getDeclaredMethod("deserialize", Map.class);
|
||||
Object itemMeta = deserialize.invoke(null, meta);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user