From 6378792a9933be0f494ad00d3c275aaa3549c615 Mon Sep 17 00:00:00 2001 From: TreemanKing <67459602+TreemanKing@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:04:36 +1000 Subject: [PATCH] Add Barrel to LootableBlockInventory (#9687) --- patches/api/0040-LootTable-API.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/patches/api/0040-LootTable-API.patch b/patches/api/0040-LootTable-API.patch index 244d7995a3..1f8dd8b256 100644 --- a/patches/api/0040-LootTable-API.patch +++ b/patches/api/0040-LootTable-API.patch @@ -238,6 +238,16 @@ index 0000000000000000000000000000000000000000..fd184f13f5e8ee5cf829fff4f44696e1 + cancelled = cancel; + } +} +diff --git a/src/main/java/org/bukkit/block/Barrel.java b/src/main/java/org/bukkit/block/Barrel.java +index aa1bb7a1a1c94b0b029bb60026efbc7f55584dd7..d3789b2b7dd71d7c1872a0d84698d35a1884101b 100644 +--- a/src/main/java/org/bukkit/block/Barrel.java ++++ b/src/main/java/org/bukkit/block/Barrel.java +@@ -5,4 +5,4 @@ import org.bukkit.loot.Lootable; + /** + * Represents a captured state of a Barrel. + */ +-public interface Barrel extends Container, Lootable, Lidded { } ++public interface Barrel extends Container, com.destroystokyo.paper.loottable.LootableBlockInventory, Lidded { } // Paper diff --git a/src/main/java/org/bukkit/block/Chest.java b/src/main/java/org/bukkit/block/Chest.java index b451191312e4fb19f2131c2d0a0c0337953f6c7c..db6affbc78106b2d93b41953b624a0bca0ca1d72 100644 --- a/src/main/java/org/bukkit/block/Chest.java