mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-14 10:35:12 +01:00
Make the PL update command less weird text
This commit is contained in:
parent
2cf09d7aa5
commit
b29d63c8ba
@ -40,7 +40,7 @@ public class LDUpdateProtocolLib implements LDCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
sender.sendMessage(ChatColor.RED + "Please hold, now downloading..");
|
||||
sender.sendMessage(ChatColor.RED + "Please hold, now downloading ProtocolLib..");
|
||||
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
@ -53,7 +53,7 @@ public class LDUpdateProtocolLib implements LDCommand {
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
sender.sendMessage(ChatColor.RED + "Update success! Restart server to finish update!");
|
||||
sender.sendMessage(ChatColor.RED + "Download success! Restart server to finish update!");
|
||||
}
|
||||
}.runTask(LibsDisguises.getInstance());
|
||||
} catch (Exception ex) {
|
||||
|
@ -2,6 +2,8 @@ package me.libraryaddict.disguise.disguisetypes.watchers;
|
||||
|
||||
import me.libraryaddict.disguise.disguisetypes.Disguise;
|
||||
import me.libraryaddict.disguise.disguisetypes.MetaIndex;
|
||||
import me.libraryaddict.disguise.utilities.reflection.NmsVersion;
|
||||
import me.libraryaddict.disguise.utilities.reflection.annotations.NmsRemovedIn;
|
||||
|
||||
import java.util.Optional;
|
||||
import java.util.UUID;
|
||||
@ -17,6 +19,7 @@ public abstract class AbstractHorseWatcher extends AgeableWatcher {
|
||||
return getData(MetaIndex.HORSE_OWNER).orElse(null);
|
||||
}
|
||||
|
||||
@NmsRemovedIn(NmsVersion.v1_19_R3)
|
||||
public void setOwner(UUID uuid) {
|
||||
setData(MetaIndex.HORSE_OWNER, Optional.of(uuid));
|
||||
sendData(MetaIndex.HORSE_OWNER);
|
||||
|
Loading…
Reference in New Issue
Block a user