From 7e18207a2bfb0a91ba13047a6418d7bf3cca212e Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Sat, 20 Apr 2013 19:26:54 +0200 Subject: [PATCH] Load at startup to stay compatible with startup plugins. Earlier versions of ProtocolLib would in fact load at startup, but due to an experimental change (ffd920e5b2157d1a9e2627d2ca7902b49cdf1302) - where ProtocolLib injected code into DedicatedServerConnectionThread in order to intercept pending connections - the load order had to be set to world. This injection was later removed, but the load order was never reinstated. This causes problems with plugins that load on startup, but also depend on ProtocolLib as load order trumpts dependency. This change reintroduces startup load order. --- ProtocolLib/src/main/resources/plugin.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ProtocolLib/src/main/resources/plugin.yml b/ProtocolLib/src/main/resources/plugin.yml index 33f25d79..09c2c107 100644 --- a/ProtocolLib/src/main/resources/plugin.yml +++ b/ProtocolLib/src/main/resources/plugin.yml @@ -3,7 +3,9 @@ version: 2.4.2-SNAPSHOT description: Provides read/write access to the Minecraft protocol. author: Comphenix website: http://www.comphenix.net/ProtocolLib + main: com.comphenix.protocol.ProtocolLibrary +load: startup database: false commands: