PaperMC / Paperclip

Bootstrap utility and launcher for the Paper Minecraft server
MIT License
120 stars 51 forks source link

fix paperclip.patchonly always false #54

Closed HeartPattern closed 2 years ago

HeartPattern commented 2 years ago

Fix paperclip.patchonly does not use system property

kennytv commented 2 years ago

It does, see Boolean.getBoolean documentation/implementation

electronicboy commented 2 years ago
    public static boolean getBoolean(String name) {
        boolean result = false;
        try {
            result = parseBoolean(System.getProperty(name));
        } catch (IllegalArgumentException | NullPointerException e) {
        }
        return result;
    }

(Kneny beat me to the close)