mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-26 10:29:20 +00:00
修复物品单独设置类别重载后不清空
This commit is contained in:
@@ -17,7 +17,6 @@ import java.util.Map;
|
||||
|
||||
public class BlockBehaviors {
|
||||
public static final Key EMPTY = Key.from("craftengine:empty");
|
||||
public static final Key UNSAFE_COMBINED = Key.from("craftengine:unsafe_combined");
|
||||
|
||||
public static void register(Key key, BlockBehaviorFactory factory) {
|
||||
Holder.Reference<BlockBehaviorFactory> holder = ((WritableRegistry<BlockBehaviorFactory>) BuiltInRegistries.BLOCK_BEHAVIOR_FACTORY)
|
||||
|
||||
@@ -52,6 +52,7 @@ public class ItemBrowserManagerImpl implements ItemBrowserManager {
|
||||
public void unload() {
|
||||
this.byId.clear();
|
||||
this.categoryOnMainPage.clear();
|
||||
this.externalMembers.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user