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.

This commit is contained in:
Sollace 2018-05-03 14:58:05 +02:00
parent b5104d67fd
commit 22fe541760

View file

@ -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;
}