mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Update dependency and use custom de/encoder for netty
This commit is contained in:
@@ -3,6 +3,7 @@ package forge.screens.home;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.Iterables;
|
||||
import com.google.common.collect.Lists;
|
||||
import forge.GuiBase;
|
||||
import forge.UiCommand;
|
||||
import forge.ai.AIOption;
|
||||
import forge.deck.*;
|
||||
@@ -258,6 +259,9 @@ public class VLobby implements ILobbyView {
|
||||
addPlayerBtn.setEnabled(activePlayersNum < MAX_PLAYERS);
|
||||
|
||||
final boolean allowNetworking = lobby.isAllowNetworking();
|
||||
|
||||
GuiBase.setNetworkplay(allowNetworking);
|
||||
|
||||
ImmutableList<VariantCheckBox> vntBoxes = null;
|
||||
if (allowNetworking) {
|
||||
vntBoxes = vntBoxesNetwork;
|
||||
|
||||
@@ -49,6 +49,9 @@ public final class Main {
|
||||
//setup GUI interface
|
||||
GuiBase.setInterface(new GuiDesktop());
|
||||
|
||||
//set PropertyConfig log4j to true
|
||||
GuiBase.setpropertyConfig(true);
|
||||
|
||||
//install our error handler
|
||||
ExceptionHandler.registerErrorHandling();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user