mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 14:04:34 +00:00
Switch the initial recipe sync to a login packet
Should fix JEI not loading Botania recipes on server join. This removes the need to run a resource reload to force JEI to pick them up
This commit is contained in:
1 parent
f65afb2aff
commit
fe4d3157c3
5 files changed
+118
-10
No files matched your search
@@ -78,12 +78,4 @@ public class SyncHandler {
|
||||
}
|
||||
}
|
||||
|
||||
@Mod.EventBusSubscriber(modid = LibMisc.MOD_ID)
|
||||
public static class CommonEvents {
|
||||
@SubscribeEvent
|
||||
public static void serverLogin(PlayerEvent.PlayerLoggedInEvent evt) {
|
||||
PacketHandler.sendNonLocal((ServerPlayerEntity) evt.getPlayer(), syncPacket());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user