Skip to content

Commit bee1b83

Browse files
Fix Towny hook queried async
1 parent 9097a04 commit bee1b83

File tree

1 file changed

+1
-1
lines changed
  • nova-hooks/nova-hook-towny/src/main/kotlin/xyz/xenondevs/nova/hook/impl/towny

1 file changed

+1
-1
lines changed

nova-hooks/nova-hook-towny/src/main/kotlin/xyz/xenondevs/nova/hook/impl/towny/TownyHook.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import xyz.xenondevs.nova.util.FakeOnlinePlayer
1414
@Hook(plugins = ["Towny"])
1515
internal object TownyHook : ProtectionIntegration {
1616

17-
override fun getExecutionMode(): ExecutionMode = ExecutionMode.NONE
17+
override fun getExecutionMode(): ExecutionMode = ExecutionMode.SERVER
1818

1919
override fun canBreak(player: OfflinePlayer, item: ItemStack?, location: Location) =
2020
hasPermission(player, location, TownyPermission.ActionType.DESTROY)

0 commit comments

Comments
 (0)