Remove CraftBukkit dependency.
Add ProtocolLib dependency.
This commit is contained in:
parent
7c9668f862
commit
4144e06170
@ -74,7 +74,9 @@ public class Chairs extends JavaPlugin {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
ignoreList.save();
|
if (ignoreList != null) {
|
||||||
|
ignoreList.save();
|
||||||
|
}
|
||||||
if (chairEffects != null) {
|
if (chairEffects != null) {
|
||||||
chairEffects.cancel();
|
chairEffects.cancel();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user