relocate package
This commit is contained in:
parent
1ba39b72de
commit
c453c22579
|
|
@ -1,2 +1,2 @@
|
|||
group=cc.maxmc.sansefish
|
||||
group=work.microhand.sanseyooyea.sansefish
|
||||
version=1.0.0
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package cc.maxmc.sansefish
|
||||
package work.microhand.sanseyooyea.sansefish
|
||||
|
||||
import org.bukkit.Material
|
||||
import org.bukkit.inventory.ItemStack
|
||||
|
|
@ -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() {
|
||||
|
||||
|
|
@ -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 {
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -19,7 +19,7 @@ data class Reward(
|
|||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
if (random(0.0, 1.0) <= chance) {
|
||||
do {
|
||||
commands.forEach {
|
||||
|
|
@ -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>()
|
||||
Loading…
Reference in New Issue