Change Drink version, fix manager calls
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -55,7 +55,7 @@
|
||||
<dependency>
|
||||
<groupId>com.jonahseguin</groupId>
|
||||
<artifactId>drink</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -36,15 +36,11 @@ public class PlayerAI extends JavaPlugin {
|
||||
|
||||
// Register all the things
|
||||
this.registerEvents();
|
||||
|
||||
// Create Netty injections
|
||||
manager.connectAll();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
manager.reset();
|
||||
manager.disconnectAll();
|
||||
}
|
||||
|
||||
private void registerEvents() {
|
||||
|
||||
Reference in New Issue
Block a user