File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
src/main/kotlin/com/mairwunnx/projectessentials/home Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package com.mairwunnx.projectessentials.home
33import com.mairwunnx.projectessentials.core.EssBase
44import com.mairwunnx.projectessentials.core.configuration.localization.LocalizationConfigurationUtils
55import com.mairwunnx.projectessentials.core.localization.processLocalizations
6- import com.mairwunnx.projectessentials.home.api.HomeAPI
76import com.mairwunnx.projectessentials.home.commands.DelHomeCommand
87import com.mairwunnx.projectessentials.home.commands.HomeCommand
98import com.mairwunnx.projectessentials.home.commands.SetHomeCommand
Original file line number Diff line number Diff line change 1- package com.mairwunnx.projectessentials.home.api
1+ package com.mairwunnx.projectessentials.home
22
33import com.mairwunnx.projectessentials.home.models.HomeModel
44import com.mairwunnx.projectessentials.home.storage.StorageBase
@@ -45,7 +45,11 @@ object HomeAPI {
4545 it.home == name
4646 }
4747 } else {
48- if (contains(homes, name)) return false
48+ if (contains(
49+ homes,
50+ name
51+ )
52+ ) return false
4953 }
5054
5155 homes.add(
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import com.mairwunnx.projectessentials.core.helpers.throwOnlyPlayerCan
66import com.mairwunnx.projectessentials.core.helpers.throwPermissionLevel
77import com.mairwunnx.projectessentials.home.EntryPoint
88import com.mairwunnx.projectessentials.home.EntryPoint.Companion.hasPermission
9- import com.mairwunnx.projectessentials.home.api. HomeAPI
9+ import com.mairwunnx.projectessentials.home.HomeAPI
1010import com.mairwunnx.projectessentials.home.sendMessage
1111import com.mojang.brigadier.CommandDispatcher
1212import com.mojang.brigadier.arguments.StringArgumentType
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import com.mairwunnx.projectessentials.core.helpers.throwOnlyPlayerCan
77import com.mairwunnx.projectessentials.core.helpers.throwPermissionLevel
88import com.mairwunnx.projectessentials.home.EntryPoint
99import com.mairwunnx.projectessentials.home.EntryPoint.Companion.hasPermission
10- import com.mairwunnx.projectessentials.home.api. HomeAPI
10+ import com.mairwunnx.projectessentials.home.HomeAPI
1111import com.mairwunnx.projectessentials.home.models.HomeModel
1212import com.mairwunnx.projectessentials.home.sendMessage
1313import com.mojang.brigadier.CommandDispatcher
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import com.mairwunnx.projectessentials.core.helpers.throwOnlyPlayerCan
77import com.mairwunnx.projectessentials.core.helpers.throwPermissionLevel
88import com.mairwunnx.projectessentials.home.EntryPoint
99import com.mairwunnx.projectessentials.home.EntryPoint.Companion.hasPermission
10- import com.mairwunnx.projectessentials.home.api. HomeAPI
10+ import com.mairwunnx.projectessentials.home.HomeAPI
1111import com.mairwunnx.projectessentials.home.sendMessage
1212import com.mojang.brigadier.CommandDispatcher
1313import com.mojang.brigadier.arguments.BoolArgumentType
You can’t perform that action at this time.
0 commit comments