From 22fe5417602756e7520bb28460fb0ca8155239c1 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 3 May 2018 14:58:05 +0200 Subject: [PATCH] Seems I was looking at the completely wrong method. Again, either one line of braces. Anything else is bad for readability and I won't stand for it. --- src/main/java/com/minelittlepony/PonyConfig.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/PonyConfig.java b/src/main/java/com/minelittlepony/PonyConfig.java index 3d0ef93a..70a513e3 100644 --- a/src/main/java/com/minelittlepony/PonyConfig.java +++ b/src/main/java/com/minelittlepony/PonyConfig.java @@ -36,7 +36,9 @@ public class PonyConfig implements Exposable { * Actually gets the pony level value. No option to ignore reality here. */ public PonyLevel getPonyLevel() { - if (ponylevel == null) ponylevel = PonyLevel.PONIES; + if (ponylevel == null) { + ponylevel = PonyLevel.PONIES; + } return ponylevel; }