relocate package

This commit is contained in:
tony_all 2022-06-25 17:20:00 +08:00
parent 1ba39b72de
commit c453c22579
7 changed files with 18 additions and 18 deletions

View File

@ -1,2 +1,2 @@
group=cc.maxmc.sansefish
group=work.microhand.sanseyooyea.sansefish
version=1.0.0

View File

@ -1,4 +1,4 @@
package cc.maxmc.sansefish
package work.microhand.sanseyooyea.sansefish
import org.bukkit.Material
import org.bukkit.inventory.ItemStack

View File

@ -1,12 +1,12 @@
package cc.maxmc.sansefish
package work.microhand.sanseyooyea.sansefish
import cc.maxmc.sansefish.command.fishCmd
import cc.maxmc.sansefish.command.registerCommand
import cc.maxmc.sansefish.reward.RewardHandler
import taboolib.common.platform.Plugin
import taboolib.common.platform.function.info
import taboolib.module.configuration.Config
import taboolib.module.configuration.Configuration
import work.microhand.sanseyooyea.sansefish.command.fishCmd
import work.microhand.sanseyooyea.sansefish.command.registerCommand
import work.microhand.sanseyooyea.sansefish.reward.RewardHandler
object SanseFish : Plugin() {

View File

@ -1,13 +1,13 @@
package cc.maxmc.sansefish.command
package work.microhand.sanseyooyea.sansefish.command
import cc.maxmc.sansefish.FishingRod
import cc.maxmc.sansefish.SanseFish
import org.bukkit.Bukkit
import org.bukkit.command.CommandSender
import org.bukkit.entity.Player
import taboolib.common.platform.command.command
import taboolib.library.xseries.setItemStack
import taboolib.platform.util.giveItem
import work.microhand.sanseyooyea.sansefish.FishingRod
import work.microhand.sanseyooyea.sansefish.SanseFish
fun registerCommand() = command("giveRod", permission = "sansefish.giverod") {
dynamic {

View File

@ -1,14 +1,14 @@
package cc.maxmc.sansefish.listener
package work.microhand.sanseyooyea.sansefish.listener
import cc.maxmc.sansefish.SanseFish
import cc.maxmc.sansefish.parseRod
import cc.maxmc.sansefish.reward.RewardHandler
import org.bukkit.Material
import org.bukkit.event.player.PlayerFishEvent
import org.bukkit.inventory.ItemStack
import taboolib.common.platform.event.SubscribeEvent
import taboolib.library.xseries.getItemStack
import taboolib.platform.util.hasItem
import work.microhand.sanseyooyea.sansefish.SanseFish
import work.microhand.sanseyooyea.sansefish.parseRod
import work.microhand.sanseyooyea.sansefish.reward.RewardHandler
object FishListener {
@SubscribeEvent

View File

@ -1,4 +1,4 @@
package cc.maxmc.sansefish.reward
package work.microhand.sanseyooyea.sansefish.reward
import org.bukkit.entity.Player
import taboolib.common.platform.function.console

View File

@ -1,8 +1,8 @@
package cc.maxmc.sansefish.reward
package work.microhand.sanseyooyea.sansefish.reward
import cc.maxmc.sansefish.FishingRod
import cc.maxmc.sansefish.SanseFish
import org.bukkit.entity.Player
import work.microhand.sanseyooyea.sansefish.FishingRod
import work.microhand.sanseyooyea.sansefish.SanseFish
object RewardHandler {
private val rewardList = ArrayList<Reward>()