-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
This server is running CraftBukkit version git-Spigot-379750e-43c7ff9 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
-
Yes
If you log in and close the inventory that opened, you're survival inventory never updates as seen here: https://i.imgur.com/tTwJVLQ.mp4
I noticed this bug on Paper 1.15.2 then I checked Spigot 1.15.2, then 1.16.2 and is still here.
Very simple to reproduce. Make a plugin with the below code.
public class InvBug extends JavaPlugin implements Listener { Inventory inv; @Override public void onEnable() { inv = Bukkit.createInventory(null, InventoryType.DISPENSER, ChatColor.GREEN + "InvBug"); Bukkit.getPluginManager().registerEvents(this, this); } @EventHandler(priority = EventPriority.HIGHEST) public void a(PlayerJoinEvent event) { event.getPlayer().openInventory(inv); } }