aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0437-Expose-LootTable-of-DecoratedPot.patch
blob: 1004281c9ae3a1f9b4eece09e1e6f849579d81c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: FireInstall <kettnerl@hu-berlin.de>
Date: Sat, 20 Jan 2024 16:20:07 +0100
Subject: [PATCH] Expose LootTable of DecoratedPot


diff --git a/src/main/java/org/bukkit/block/DecoratedPot.java b/src/main/java/org/bukkit/block/DecoratedPot.java
index a04df8105a462eac3a4a8eb04eac70fdd979d0e3..8c0e946ead8b7d9e2e6e94b0533564eb26653092 100644
--- a/src/main/java/org/bukkit/block/DecoratedPot.java
+++ b/src/main/java/org/bukkit/block/DecoratedPot.java
@@ -12,7 +12,7 @@ import org.jetbrains.annotations.Nullable;
 /**
  * Represents a captured state of a decorated pot.
  */
-public interface DecoratedPot extends TileState, BlockInventoryHolder {
+public interface DecoratedPot extends TileState, BlockInventoryHolder , org.bukkit.loot.Lootable { // Paper - expose loot table
 
     /**
      * Set the sherd on the provided side.