mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-25 17:18:04 +01:00
Don't crash the game when you open the BetaCraft screen without connection
This commit is contained in:
parent
a72b0f7c74
commit
ccba9f362d
@ -69,6 +69,7 @@ public class BetaCraftScreen extends VFPScreen {
|
||||
|
||||
public SlotList(MinecraftClient minecraftClient, int width, int height, int top, int bottom, int entryHeight) {
|
||||
super(minecraftClient, width, height, top, bottom, entryHeight);
|
||||
if (SERVER_LIST == null) return;
|
||||
|
||||
for (BCVersion value : BCVersion.values()) {
|
||||
final List<BCServerInfo> servers = SERVER_LIST.serversOfVersion(value);
|
||||
|
Loading…
Reference in New Issue
Block a user