We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9097a04 commit bee1b83Copy full SHA for bee1b83
nova-hooks/nova-hook-towny/src/main/kotlin/xyz/xenondevs/nova/hook/impl/towny/TownyHook.kt
@@ -14,7 +14,7 @@ import xyz.xenondevs.nova.util.FakeOnlinePlayer
14
@Hook(plugins = ["Towny"])
15
internal object TownyHook : ProtectionIntegration {
16
17
- override fun getExecutionMode(): ExecutionMode = ExecutionMode.NONE
+ override fun getExecutionMode(): ExecutionMode = ExecutionMode.SERVER
18
19
override fun canBreak(player: OfflinePlayer, item: ItemStack?, location: Location) =
20
hasPermission(player, location, TownyPermission.ActionType.DESTROY)
0 commit comments