PaperMC / PaperMC/Paper

Cant edit anvil via paper API

Open
#5,284 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #7265 by @Machine-Maker — closed without merging
priority: low status: accepted type: bug version: 1.16 version: 1.19
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

What behaviour is expected:

What you expected to see
paper api : open the anvil and use it ingame

What behaviour is observed:

What you actually saw
i was kicked from the server when i use it: Packet processing error .
And i saw a error in the console: https://pastebin.pl/view/49f4d75a

Steps/models to reproduce:

This may include a build schematic, a video, or detailed instructions to help reconstruct the issue
open a anvil with the paper api, code: player.openInventory(Bukkit.createInventory(player, InventoryType.ANVIL));
use it and you see you are kicked because Packet procressing error. and in the console is a big error

Plugin list:

A list of your plugins
https://i.imgur.com/f8edd3y.png
-essentials is my plugin!

Paper version:

Paste the output of running /version on your server WITH the Minecraft version. latest is not a version; we require the output of /version so we can properly track down the issue.
https://i.imgur.com/bXFo6ac.png

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with player.openInventory(Bukkit.createInventory(player, InventoryType.ANVIL)) and review the linked console error and Paper version details. Confirm the behavior with the listed plugin setup; done means the anvil can be opened and used through the Paper API without a kick or packet-processing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.