Archiviert
13
0

Make ProtocolLib load on startup. No need to wait for the world to load

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2012-12-09 15:35:01 +01:00
Ursprung 83f5a7e5b7
Commit 7845a844d4
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -240,9 +240,9 @@ public class ProtocolLibrary extends JavaPlugin {
if (!config.getIgnoreVersionCheck().equals(current.toString())) { if (!config.getIgnoreVersionCheck().equals(current.toString())) {
// We'll just warn the user for now // We'll just warn the user for now
if (current.compareTo(minimum) < 0) if (current.compareTo(minimum) < 0)
reporter.reportWarning(this, "Version " + current + " is lower than the minimum " + minimum); logger.warning("Version " + current + " is lower than the minimum " + minimum);
if (current.compareTo(maximum) > 0) if (current.compareTo(maximum) > 0)
reporter.reportWarning(this, "Version " + current + " has not yet been tested! Proceed with caution."); logger.warning("Version " + current + " has not yet been tested! Proceed with caution.");
} }
} catch (Exception e) { } catch (Exception e) {
reporter.reportWarning(this, "Unable to retrieve current Minecraft version.", e); reporter.reportWarning(this, "Unable to retrieve current Minecraft version.", e);

Datei anzeigen

@ -3,7 +3,7 @@ version: 1.8.0-SNAPSHOT
description: Provides read/write access to the Minecraft protocol. description: Provides read/write access to the Minecraft protocol.
author: Comphenix author: Comphenix
website: http://www.comphenix.net/ProtocolLib website: http://www.comphenix.net/ProtocolLib
load: startup
main: com.comphenix.protocol.ProtocolLibrary main: com.comphenix.protocol.ProtocolLibrary
database: false database: false