我觉得很淦
waterfall 最新版本

客户端就是我们用的客户端 没有差别

Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@7be20d63, id=14, owner=net.skinsrestorer.bungee.SkinsRestorer@c0b29b70, task=net.skinsrestorer.bungee.listeners.LoginListener$$Lambda$493/0x00000000944c9868@4013a218, delay=0, period=0, running=true) encountered an exception
>java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
at net.skinsrestorer.shared.storage.SkinStorage.getDefaultSkinName(SkinStorage.java:647) ~[?:?]
at net.skinsrestorer.shared.storage.SkinStorage.getDefaultSkinName(SkinStorage.java:607) ~[?:?]
at net.skinsrestorer.bungee.listeners.LoginListener.lambda$onLogin$0(LoginListener.java:58) ~[?:?]
at net.skinsrestorer.bungee.listeners.LoginListener$$Lambda$493/0x00000000944c9868.run(Unknown Source) ~[?:?]
at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:66) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:93773f9:448]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExinListener$$Lambda$493/0x00000000944c9868.run(Unknown Source) ~[?:?]
at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:66) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:93773f9:448]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
at java.lang.Thread.run(Thread.java:853) [?:?]


Rothes
本帖最后由 Rothes 于 2021-8-29 13:30 编辑

更新BC的skinsrestorer插件,或者重置一下插件数据
  1. DefaultSkins:
  2.   Enabled: false
  3.   ApplyForPremium: false
  4.   Names:
  5.     - xknat
  6.     - McLive
复制代码
看看这里面的Names你是不是设置成 [] 或者 {}了,调回去。看起来代码有问题。

我觉得很淦
Rothes 发表于 2021-8-29 13:28
更新BC的skinsrestorer插件,或者重置一下插件数据看看这里面的Names你是不是设置成 [] 或者 {}了,调回去 ...

DefaultSkins:
  Enabled: true
  ApplyForPremium: false
  Names:
    - "Geiich"

我觉得很淦
Rothes 发表于 2021-8-29 13:28
更新BC的skinsrestorer插件,或者重置一下插件数据看看这里面的Names你是不是设置成 [] 或者 {}了,调回去 ...

删除之后每个玩家都报错了.

Rothes
我觉得很淦 发表于 2021-8-29 13:43
DefaultSkins:
  Enabled: true
  ApplyForPremium: false

看看插件是不是最新版本?貌似没有把你设置的这个读取进去呀。

我觉得很淦
Rothes 发表于 2021-8-29 13:47
看看插件是不是最新版本?貌似没有把你设置的这个读取进去呀。

是最新版本 我去校对一下配置文件

我觉得很淦
Rothes 发表于 2021-8-29 13:47
看看插件是不是最新版本?貌似没有把你设置的这个读取进去呀。

解决了 这个玩家改名了...