Skip to content

Commit

Permalink
Revert "Fixed backwards compatibility with SlotType"
Browse files Browse the repository at this point in the history
This reverts commit 357d846.
  • Loading branch information
WillFP committed Jan 6, 2024
1 parent ee1c9fe commit 028e61b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/src/main/kotlin/com/willfp/libreforge/slot/SlotType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ abstract class SlotType(
*/
abstract fun getItemSlots(player: Player): List<Int>

/**
* Exists for backwards compatibility.
*/
fun getItems(player: Player) = getItems(player as LivingEntity)

override fun equals(other: Any?): Boolean {
return other is SlotType && other.id == this.id
}
Expand Down

0 comments on commit 028e61b

Please sign in to comment.