Compare commits

...

3 Commits

Author SHA1 Message Date
Motschen
794586362d MidnightLib 0.3.1 - Remove debug info 2021-11-20 11:21:40 +01:00
Motschen
1bdbde0af6 Merge pull request #5 from wafflecoffee/patch-1
Remove debug printlns in MidnightConfig
2021-11-20 10:17:57 +00:00
Emma
c1815c25d8 Remove debug printlns 2021-11-14 17:43:12 -05:00
2 changed files with 2 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.11.7
# Mod Properties
mod_version = 0.3.0
mod_version = 0.3.1
maven_group = eu.midnightdust
archives_base_name = midnightlib

View File

@@ -24,7 +24,6 @@ import net.minecraft.text.LiteralText;
import net.minecraft.text.Text;
import net.minecraft.text.TranslatableText;
import net.minecraft.util.Formatting;
import org.apache.logging.log4j.LogManager;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -140,8 +139,6 @@ public abstract class MidnightConfig {
Number value = 0;
boolean inLimits = false;
System.out.println(((isNumber ^ s.isEmpty())));
System.out.println(!s.equals("-") && !s.equals("."));
info.error = null;
if (!(isNumber && s.isEmpty()) && !s.equals("-") && !s.equals(".")) {
value = f.apply(s);
@@ -266,7 +263,6 @@ public abstract class MidnightConfig {
resetButton.setWidth(20);
resetButton.setMessage(new LiteralText("R").formatted(Formatting.RED));
ButtonWidget cycleButton = new ButtonWidget(width - 185, 0, 20, 20, new LiteralText(String.valueOf(info.index)).formatted(Formatting.GOLD), (button -> {
LogManager.getLogger("1").info(info.value);
((List<String>)info.value).remove("");
double scrollAmount = list.getScrollAmount();
this.reload = true;