mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 20:55:44 +01:00
PlayerUpdateTask should now be run on 1.8.8
This commit is contained in:
parent
2b94ad8959
commit
01b3dbfd33
@ -335,9 +335,7 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
|
||||
startMetrics();
|
||||
scheduleSaveTask(Setting.SAVE_TASK_DELAY.asInt());
|
||||
Bukkit.getPluginManager().callEvent(new CitizensEnableEvent());
|
||||
if (!Util.getMinecraftRevision().equals("1_8_R3")) {
|
||||
new PlayerUpdateTask().runTaskTimer(Citizens.this, 0, 1);
|
||||
}
|
||||
new PlayerUpdateTask().runTaskTimer(Citizens.this, 0, 1);
|
||||
}
|
||||
}, 1) == -1) {
|
||||
Messaging.severeTr(Messages.LOAD_TASK_NOT_SCHEDULED);
|
||||
|
@ -198,6 +198,7 @@ public class CommandTrait extends Trait {
|
||||
if (op) {
|
||||
clicker.setOp(true);
|
||||
}
|
||||
|
||||
if (bungeeServer != null) {
|
||||
ByteArrayDataOutput out = ByteStreams.newDataOutput();
|
||||
out.writeUTF("Connect");
|
||||
@ -211,6 +212,7 @@ public class CommandTrait extends Trait {
|
||||
t.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
if (op) {
|
||||
clicker.setOp(wasOp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user