-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathDebugifyClient.java
More file actions
19 lines (15 loc) · 681 Bytes
/
Copy pathDebugifyClient.java
File metadata and controls
19 lines (15 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package dev.isxander.debugify.client;
import dev.isxander.debugify.Debugify;
import dev.isxander.debugify.client.utils.BugFixDescriptionCache;
import dev.isxander.debugify.client.utils.ClientUtils;
public class DebugifyClient {
public static BugFixDescriptionCache bugFixDescriptionCache;
public static void onInitializeClient() {
bugFixDescriptionCache = new BugFixDescriptionCache();
bugFixDescriptionCache.loadDescriptions();
bugFixDescriptionCache.cacheMissingDescriptions();
}
public static boolean isGameplayFixesEnabled() {
return !ClientUtils.isInMultiplayerWorld() || Debugify.CONFIG.gameplayFixesInMultiplayer;
}
}