mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
yes
This commit is contained in:
parent
c6bfb250c7
commit
690e9c1f2b
@ -6,9 +6,9 @@ import java.util.ArrayList;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class TypeCheckerProducer {
|
import static gearth.services.Constants.UNITY_PACKETS;
|
||||||
|
|
||||||
public static volatile boolean UNITY_PACKETS = false;
|
public class TypeCheckerProducer {
|
||||||
|
|
||||||
public static List<TypeChecker> getValidators(HPacket packet) {
|
public static List<TypeChecker> getValidators(HPacket packet) {
|
||||||
List<TypeChecker> typeCheckers = new ArrayList<>(Arrays.asList(
|
List<TypeChecker> typeCheckers = new ArrayList<>(Arrays.asList(
|
||||||
|
@ -7,6 +7,7 @@ import gearth.protocol.HConnection;
|
|||||||
import gearth.protocol.connection.HState;
|
import gearth.protocol.connection.HState;
|
||||||
import gearth.protocol.connection.proxy.ProxyProviderFactory;
|
import gearth.protocol.connection.proxy.ProxyProviderFactory;
|
||||||
import gearth.protocol.connection.proxy.SocksConfiguration;
|
import gearth.protocol.connection.proxy.SocksConfiguration;
|
||||||
|
import gearth.services.Constants;
|
||||||
import gearth.services.gpython.GPythonVersionUtils;
|
import gearth.services.gpython.GPythonVersionUtils;
|
||||||
import gearth.ui.SubForm;
|
import gearth.ui.SubForm;
|
||||||
import gearth.ui.info.InfoController;
|
import gearth.ui.info.InfoController;
|
||||||
@ -62,10 +63,10 @@ public class ExtraController extends SubForm implements SocksConfiguration {
|
|||||||
public GridPane grd_clientSelection;
|
public GridPane grd_clientSelection;
|
||||||
|
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
TypeCheckerProducer.UNITY_PACKETS = rd_unity.isSelected();
|
Constants.UNITY_PACKETS = rd_unity.isSelected();
|
||||||
tgl_clientMode.selectedToggleProperty().addListener(observable -> {
|
tgl_clientMode.selectedToggleProperty().addListener(observable -> {
|
||||||
parentController.connectionController.changeClientMode();
|
if (parentController != null) parentController.connectionController.changeClientMode();
|
||||||
TypeCheckerProducer.UNITY_PACKETS = rd_unity.isSelected();
|
Constants.UNITY_PACKETS = rd_unity.isSelected();
|
||||||
});
|
});
|
||||||
|
|
||||||
url_troubleshooting.setTooltip(new Tooltip("https://github.com/sirjonasxx/G-Earth/wiki/Troubleshooting"));
|
url_troubleshooting.setTooltip(new Tooltip("https://github.com/sirjonasxx/G-Earth/wiki/Troubleshooting"));
|
||||||
|
Loading…
Reference in New Issue
Block a user