Mineore
水龙头插件服,1.18.2,PAPI最新版,时装插件版本2.4.6

使用/cosmetic指令后,点击时装按钮时,能正常装备在身上并显示:

(当时装装备成功时,Enabled显示true)


设置好衣柜后,执行打开衣柜指令/cosmetic wardrobe default时,出现错误(在衣柜范围内,不在范围会显示不在衣柜范围)
错误日志如下:
  1. [20:12:58] [信息]: Fande issued server command: /cosmetic wardrobe default
  2. [20:12:59] [错误]: null
  3. org.bukkit.command.CommandException: Unhandled exception executing command 'cosmetic' in plugin HMCCosmetics v2.4.6
  4.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-api-1.18.2-R0.1-SNAPSHOT.jar:?]
  5.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-api-1.18.2-R0.1-SNAPSHOT.jar:?]
  6.         at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:826) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  7.         at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1957) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  8.         at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1796) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  9.         at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1777) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  10.         at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  11.         at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  12.         at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:31) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  13.         at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  14.         at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:157) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  15.         at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  16.         at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1190) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  17.         at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  18.         at net.minecraft.util.thread.IAsyncTaskHandler.y(SourceFile:131) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  19.         at net.minecraft.server.MinecraftServer.be(MinecraftServer.java:1169) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  20.         at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1162) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  21.         at net.minecraft.util.thread.IAsyncTaskHandler.bo(SourceFile:116) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  22.         at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1145) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  23.         at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1051) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  24.         at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
  25.         at java.lang.Thread.run(Thread.java:833) [?:?]
  26. Caused by: java.lang.NoSuchMethodError: 'int net.minecraft.world.entity.Entity.nextEntityId()'
  27.         at com.hibiscusmc.hmccosmetics.nms.v1_18_R2.NMSHandler.getNextEntityId(NMSHandler.java:50) ~[?:?]
  28.         at com.hibiscusmc.hmccosmetics.user.manager.UserWardrobeManager.<init>(UserWardrobeManager.java:53) ~[?:?]
  29.         at com.hibiscusmc.hmccosmetics.user.CosmeticUser.enterWardrobe(CosmeticUser.java:308) ~[?:?]
  30.         at com.hibiscusmc.hmccosmetics.command.CosmeticCommand.onCommand(CosmeticCommand.java:230) ~[?:?]
  31.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-api-1.18.2-R0.1-SNAPSHOT.jar:?]
  32.         ... 21 more
复制代码

衣柜设置如下:

  1.   wardrobes:
  2.     default:
  3.       npc-location:
  4.         world: world
  5.         x: 3792
  6.         y: 84
  7.         z: 965
  8.         yaw: 0
  9.         pitch: 0
  10.       viewer-location:
  11.         world: world
  12.         x: 3792
  13.         y: 83
  14.         z: 962
  15.         yaw: 0
  16.         pitch: 0
  17.       leave-location:
  18.         world: world
  19.         x: 3792
  20.         y: 83
  21.         z: 960
  22.         yaw: 0
  23.         pitch: 0
复制代码
第二段衣柜设置
  1. wardrobe:
  2.   # spawn static wardrobe if in this radius of wardrobe-location
  3.   static-radius: 10
  4.   # how much yaw should change per tick, set to 0 for none
  5.   rotation-speed: 3
  6.   # Applies a pumpkin for an overlay of the player while in the wardrobe.
  7.   equip-pumpkin: false
  8.   # Rather than having a set exit location, this will send the player back to where they entered the wardrobe. Not recommended for WG regions
  9.   return-last-location: false
  10.   # If players in wardrobes should be able to equip any cosmetic, regardless of permission (Cosmetics they do not have access to will be removed when they leave the wardrobe)
  11.   unchecked-wardrobe-cosmetics: false
复制代码

同时重载插件时,PAPI插件显示未成功加载HMCCosmetics扩展
  1. [PlaceholderAPI] Failed to load expansion HMCCosmetics. Identifier is already in use.
复制代码




pXiaoD
目测的插件本体代码的问题,自行反馈作者

红云cloud
由于此插件付费,故无法提供帮助

请联系插件作者提供支持

第一页 上一页 下一页 最后一页