File tree 5 files changed +6
-8
lines changed
src/main/kotlin/trplugins/menu/api/receptacle/hook
src/main/kotlin/trplugins/menu/module/internal
5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ dependencies {
37
37
compileOnly(" ink.ptms:nms-all:1.0.0" )
38
38
compileOnly(" ink.ptms.core:v11900:11900-minimize:universal" )
39
39
compileOnly(" ink.ptms.core:v11900:11900-minimize:mapped" )
40
- compileOnly(" org.geysermc.floodgate:api:2.2.1-SNAPSHOT" )
41
40
compileOnly(fileTree(" libs" ))
42
41
}
43
42
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package trplugins.menu.api.receptacle.hook
2
2
3
3
import org.bukkit.Bukkit
4
4
import org.bukkit.entity.Player
5
- import org.geysermc.floodgate.api.FloodgateApi
6
5
7
6
/* *
8
7
* TrMenu
@@ -14,7 +13,8 @@ import org.geysermc.floodgate.api.FloodgateApi
14
13
class HookFloodgate private constructor() {
15
14
16
15
fun isBedrockPlayer (player : Player ): Boolean {
17
- return FloodgateApi .getInstance().isFloodgatePlayer(player.uniqueId)
16
+ // return FloodgateApi.getInstance().isFloodgatePlayer(player.uniqueId)
17
+ return false
18
18
}
19
19
20
20
companion object {
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ dependencies {
77
77
compileOnly(" ink.ptms.core:v11604:11604" )
78
78
79
79
// Hook Plugins
80
- compileOnly(" org.geysermc.floodgate:api:2.2.1-SNAPSHOT" ) { isTransitive = false }
81
80
compileOnly(" me.clip:placeholderapi:2.10.9" ) { isTransitive = false }
82
81
compileOnly(" ink.ptms:Zaphkiel:1.6.0" ) { isTransitive = false }
83
82
compileOnly(" ca.tweetzy:skulls:2.7.2" ) { isTransitive = false }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package trplugins.menu.module.internal.hook.impl
2
2
3
3
import trplugins.menu.module.internal.hook.HookAbstract
4
4
import org.bukkit.entity.Player
5
- import org.geysermc.floodgate.api.FloodgateApi
6
5
7
6
/* *
8
7
* @author Arasple
@@ -11,7 +10,8 @@ import org.geysermc.floodgate.api.FloodgateApi
11
10
class HookFloodgate : HookAbstract () {
12
11
13
12
fun isBedrockPlayer (player : Player ): Boolean {
14
- return if (checkHooked()) FloodgateApi .getInstance().isFloodgatePlayer(player.uniqueId) else false
13
+ // return if (checkHooked()) FloodgateApi.getInstance().isFloodgatePlayer(player.uniqueId) else false
14
+ return false
15
15
}
16
16
17
17
override fun getPluginName (): String {
Original file line number Diff line number Diff line change @@ -311,9 +311,9 @@ class Assist {
311
311
/* *
312
312
* Hook
313
313
*/
314
- fun isBedrockPlayer (player : Player ): Boolean {
314
+ /* fun isBedrockPlayer(player: Player): Boolean {
315
315
return HookPlugin.getFloodgate().isBedrockPlayer(player)
316
- }
316
+ }*/
317
317
318
318
319
319
/* *
You can’t perform that action at this time.
0 commit comments