Fix formatting issue in previous commit

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2023-12-07 08:41:56 +11:00
parent 64145dd66d
commit 07a9ff30de

View File

@ -1,6 +1,6 @@
--- a/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
+++ b/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
@@ -21,7 +21,58 @@
@@ -21,8 +21,59 @@
import net.minecraft.world.level.block.state.properties.BlockProperties;
import net.minecraft.world.ticks.ContainerSingleItem;
@ -15,7 +15,7 @@
+// CraftBukkit end
+
public class DecoratedPotBlockEntity extends TileEntity implements RandomizableContainer, ContainerSingleItem {
+
+ // CraftBukkit start - add fields and methods
+ public List<HumanEntity> transaction = new ArrayList<>();
+ private int maxStack = MAX_STACK;
@ -56,6 +56,7 @@
+ return CraftLocation.toBukkit(worldPosition, level.getWorld());
+ }
+ // CraftBukkit end
+
public static final String TAG_SHERDS = "sherds";
public static final String TAG_ITEM = "item";
public static final int EVENT_POT_WOBBLES = 1;