Skip to content
#

java-edition

Here are 28 public repositories matching this topic...

SecretX33
SecretX33 commented Oct 28, 2021

Description

NullPointerException is thrown when serializing an ItemStack that is made of AIR. That happens because XItemStack#serialize calls getItemMeta on the item passed as a parameter and uses the result of it without checking if it is null before.

Code (Kotlin)

XItemStack.serialize(ItemStack(Material.AIR, 1), MemoryConfiguration())

Stacktrace: http

Sh-wayz
Sh-wayz commented Mar 17, 2021

Feature

  • Config should be sorted by category(rcon, query, world, etc)->alphabetically, with comments describing each section. Comment can be achieved with ruamel.yaml

Reason

  • The config should be mainly self-explanatory to new users. This also stops noob devs like me from spamming petus for help quite as often.

Improve this page

Add a description, image, and links to the java-edition topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the java-edition topic, visit your repo's landing page and select "manage topics."

Learn more