Bug Closed · Resolved

A bug with Adyeshach

#2437 opened by Unknown 4 years ago

Unknownreported this bug

Summary There is a new npc system called adyeshach and it can create private npc for every player by sending packet it even support model engine and there is a bug with adyeshach and mythicmobs when you create a private npc and add model by modelengine for that npc Mythicmobs will worse

You can see some things about it in https://paste.ubuntu.com/p/85MDzNyvrv/ and adyeshach is open source https://github.com/TabooLib/Adyeshach

you also can download the jar in its action

Steps to reproduce

Create a private npc for one player select the npc and add model by modelegine

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

Current behavior

make the add model action failed and make the mythicmobs send error message all the time

Describe what happens currently, while the bug is affecting your server.

Intended correct behavior

Disable the listner about sendPacket for Adyeshach, that plugin Describe what you think should happen instead of the bug.

Server log file

Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.

Debug log snippet

https://paste.ubuntu.com/p/85MDzNyvrv/

Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.

Proposed fixes

Describe what you think the issue or any potential fixes may be.

Unknowncommented

作者你好,我是 Adyeshach 的开发者,我将补充这个问题。
Hello author, I am the developer of Adyeshach, I will add this question.

问题发生在:
The problem occurred:

io.lumine.xikage.mythicmobs.compatibility.ProtocolLibSupport

第 28 行:
Line 28:

Entity entity = (Entity)packet.getPacket().getEntityModifier(packet).read(0);

会导致 ProtocolLib 插件发生以下错误:
Will cause the following errors in the ProtocolLib plugin:

java.lang.RuntimeException: Cannot retrieve entity from ID.
at com.comphenix.protocol.wrappers.BukkitConverters$11.getSpecific(BukkitConverters.java:727)
Sign in to join the discussion.