Add setPotionUseTimeLeft to Witch (#5597)
This commit is contained in:
@@ -136,6 +136,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ return getHandle().getPotionUseTimeLeft();
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public void setPotionUseTimeLeft(int ticks) {
|
||||
+ getHandle().setPotionUseTimeLeft(ticks);
|
||||
+ }
|
||||
+
|
||||
+ public ItemStack getDrinkingPotion() {
|
||||
+ return CraftItemStack.asCraftMirror(getHandle().getItemInMainHand());
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user