SomeSourceCode / SomeGuiApi

A Paper API to create interactable GUIs using Minecraft Inventories, ...
MIT License
1 stars 0 forks source link

NullPointerException when scene background is null #7

Closed SomeSourceCode closed 3 months ago

SomeSourceCode commented 3 months ago

Description

A NullPointerException occurs when the scene's background is set to null.

Potential Fix

This is likely related to a missing null check: https://github.com/SomeSourceCode/SomeGuiApi/blob/b8a1802e3f2667fba55dbdab64c4a756a1e34626/src/main/java/io/github/somesourcecode/someguiapi/scene/gui/ChestGui.java#L126