mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-30 04:19:27 +00:00
修复1.21.2equippable组件
This commit is contained in:
@@ -46,7 +46,7 @@ public class ComponentItemFactory1_21_2 extends ComponentItemFactory1_21 {
|
||||
if (data == null) {
|
||||
item.resetComponent(ComponentTypes.EQUIPPABLE);
|
||||
} else {
|
||||
item.setJavaComponent(ComponentTypes.EQUIPPABLE, data.toMap());
|
||||
item.setSparrowNBTComponent(ComponentTypes.EQUIPPABLE, data.toNBT());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user