mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 14:27:59 +01:00
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:
parent
b5104d67fd
commit
22fe541760
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue