[SPIGOT-7160] LootTable.fillInventory() is not considered a plugin-issued event. Created: 18/Sep/22  Updated: 25/Dec/24  Resolved: 19/Sep/22

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Ranee Punjab Assignee: Doc
Resolution: Fixed Votes: 0
Labels: 1.19.2, bug, event, spigot
Environment:

Java 1.19.2 Latest Release - Spigot Version: spigot-api-1.19.2-R0.1-SNAPSHOT


Version: 1.19.2
Guidelines Read: Yes

 Description   

Invoking the LootTable.fillInventory() method will trigger a LootGenerateEvent, however, the event's isPlugin() method will return false. According to Spigot documentation, the isPlugin() method should return true for an invocation of LootTable.fillInventory(). For more context, see link title



 Comments   
Comment by Doc [ 18/Sep/22 ]

Created PR for this with another changes.

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1111/overview

 

Generated at Sun Mar 30 17:57:30 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.