Add enchantment seed update API
This commit is contained in:
@@ -244,7 +244,7 @@
|
||||
ItemStack itemstack = ItemStack.EMPTY;
|
||||
Slot slot1 = (Slot) this.slots.get(slot);
|
||||
|
||||
@@ -293,4 +385,17 @@
|
||||
@@ -293,4 +385,23 @@
|
||||
|
||||
return itemstack;
|
||||
}
|
||||
@@ -261,4 +261,10 @@
|
||||
+ return this.bukkitEntity;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
+ // Paper start - add enchantment seed update API
|
||||
+ public void setEnchantmentSeed(int seed) {
|
||||
+ this.enchantmentSeed.set(seed);
|
||||
+ }
|
||||
+ // Paper end - add enchantment seed update API
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user