Skip to content

Commit

Permalink
Updated Upstream (CatServer)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaHaWTH committed Dec 31, 2024
1 parent e90bf36 commit 5bf28b7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/catserver/server/CatServerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public class CatServerConfig {

public boolean waitForgeServerChatEvent = false;

public boolean bridgeForgeExplosionEventToBukkit = true; // CatRoom

public int craftRequestThrottle = 20;
public int itemNBTThrottle = 200;
public boolean limitFastClickGUI = false;
Expand All @@ -65,6 +63,7 @@ public class CatServerConfig {
public int playerProfileResultCacheMinutes = 1440;

public boolean callConstructCapabilityEventOnRespawn = false;
public boolean bridgeForgeExplosionEventToBukkit = false;

public boolean enableAffinity = false;
public BitSet affinity = Affinity.getAffinity();
Expand Down Expand Up @@ -117,10 +116,9 @@ public void loadConfig() {
disableFMLStatusModInfo = getOrWriteBooleanConfig("network.fml.disableStatusModInfo", config.getBoolean("disableFMLStatusModInfo", disableFMLStatusModInfo));
cachePlayerProfileResult = getOrWriteBooleanConfig("network.profile.cachePlayerProfileResult", cachePlayerProfileResult);
playerProfileResultCacheMinutes = getOrWriteIntConfig("network.profile.playerProfileResultCacheMinutes", playerProfileResultCacheMinutes);
// event bridge
bridgeForgeExplosionEventToBukkit = getOrWriteBooleanConfig("event-bridge.bridgeForgeExplosionEventToBukkit", bridgeForgeExplosionEventToBukkit);
// compatibility
callConstructCapabilityEventOnRespawn = getOrWriteBooleanConfig("compatibility.callConstructCapabilityEventOnRespawn", callConstructCapabilityEventOnRespawn);
bridgeForgeExplosionEventToBukkit = getOrWriteBooleanConfig("compatibility.bridgeForgeExplosionEventToBukkit", bridgeForgeExplosionEventToBukkit);
// general
disableUpdateGameProfile = getOrWriteBooleanConfig("disableUpdateGameProfile", disableUpdateGameProfile);
disableAsyncCatchWarn = getOrWriteBooleanConfig("disableAsyncCatchWarn", disableAsyncCatchWarn);
Expand Down

0 comments on commit 5bf28b7

Please sign in to comment.