From c30b2cbc144ca4aa7ee385e0422dadf017d7a916 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Sat, 16 May 2020 18:55:14 +0300 Subject: Remove deprecated ValidatedSlot methods --- .../github/cottonmc/cotton/gui/ValidatedSlot.java | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java b/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java index 2c6b5b2..8a50a45 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/ValidatedSlot.java @@ -42,27 +42,6 @@ public class ValidatedSlot extends Slot { return result; } - /** - * Returns true if the item in this slot can be modified by players. - * - * @return true if items can be inserted into or taken from this slot widget, false otherwise - * @since 1.8.0 - * @deprecated Replaced with {@link #isInsertingAllowed()} and {@link #isTakingAllowed()}. - */ - @Deprecated - public boolean isModifiable() { - return insertingAllowed || takingAllowed; - } - - /** - * @deprecated Replaced with {@link #setInsertingAllowed(boolean)} and {@link #setTakingAllowed(boolean)}. - */ - @Deprecated - public void setModifiable(boolean modifiable) { - this.insertingAllowed = modifiable; - this.takingAllowed = modifiable; - } - public int getInventoryIndex() { return slotNumber; } -- cgit