Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with WrapperPlayServerBed (1.12.2) #67

Open
ShortByte opened this issue Mar 5, 2020 · 2 comments
Open

Problem with WrapperPlayServerBed (1.12.2) #67

ShortByte opened this issue Mar 5, 2020 · 2 comments

Comments

@ShortByte
Copy link

ShortByte commented Mar 5, 2020

Hello,

i am currently developing a plugin with ProtocolLib and the PacketWrapper where NPCs are created.

The problem I have is that when I want to let the NPC sleep on a bed, the following error occurs.

com.comphenix.protocol.reflect.FieldAccessException: No field with type net.minecraft.server.v1_12_R1.BlockPosition exists in class PacketPlayOutCombatEvent.

With this function:
notepad++_UeFXsFh2fW

@MiniDigger
Copy link

make sure you use the right version of packetwrapper for your ancient client version

@ShortByte
Copy link
Author

make sure you use the right version of packetwrapper for your ancient client version

I use version "1.12.1-R0.1-SNAPSHOT" of com.comphenix.packetwrapper.PacketWrapper from the protocollib repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants