[Change] Moved "Survives On" Setting to the client config

This commit is contained in:
Frank 2022-10-13 20:25:38 +02:00
parent f89c305dfe
commit 3e7a2e869d
3 changed files with 11 additions and 11 deletions

View file

@ -39,7 +39,7 @@ public interface SurvivesOnSpecialGround {
@Environment(EnvType.CLIENT)
static void appendHoverText(List<Component> list, String description) {
if (!Configs.MAIN_CONFIG.survivesOnHint()) return;
if (!Configs.CLIENT_CONFIG.survivesOnHint()) return;
final int MAX_LINES = 7;
List<String> lines = splitLines(description);
if (lines.size() == 1) {