Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Fix missing serializer for consume item skill
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Jan 25, 2024
1 parent 723cab0 commit 219469e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ import com.mineinabyss.geary.autoscan.AutoScan
import com.mineinabyss.geary.systems.GearyListener
import com.mineinabyss.geary.systems.accessors.Pointers
import com.mineinabyss.idofront.serialization.SerializableItemStack
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.bukkit.entity.Player

@Serializable
@SerialName("looty:consume_item")
class ConsumeItemFromInventory(
val type: SerializableItemStack,
val amount: Int = 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import kotlinx.serialization.Serializable
import org.bukkit.entity.Player

@Serializable
@SerialName("looty:requiresConsumable")
@SerialName("looty:requires_consumable")
class RequiresConsumable(
val type: SerializableItemStack,
val minAmount: Int = 1,
Expand Down

0 comments on commit 219469e

Please sign in to comment.