Fix matter registry gets invalidated on second join in singleplayer
This commit is contained in:
parent
49a6d3a3e2
commit
4c6e10ac53
@ -452,8 +452,15 @@ public class MatterRegistry {
|
||||
}
|
||||
}
|
||||
|
||||
private static boolean started_once = false;
|
||||
|
||||
@SubscribeEvent
|
||||
public static void serverStarted(FMLServerStartedEvent event) {
|
||||
if (started_once)
|
||||
return;
|
||||
|
||||
started_once = true;
|
||||
|
||||
ITEMS.clear();
|
||||
usages.clear();
|
||||
results.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user