From 135fa276b7a6cd16babad10e770cec6ff06a5d7f Mon Sep 17 00:00:00 2001 From: Tems Date: Fri, 3 Nov 2023 18:36:43 +0100 Subject: [PATCH] . --- gradlew | 0 src/main/java/org/tems/ttotem/Listeners/InventoryClickEvent.kt | 1 - 2 files changed, 1 deletion(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/src/main/java/org/tems/ttotem/Listeners/InventoryClickEvent.kt b/src/main/java/org/tems/ttotem/Listeners/InventoryClickEvent.kt index 1193793..95a0b37 100644 --- a/src/main/java/org/tems/ttotem/Listeners/InventoryClickEvent.kt +++ b/src/main/java/org/tems/ttotem/Listeners/InventoryClickEvent.kt @@ -21,7 +21,6 @@ class InventoryClickEvent(private val plugin: Tetotem) : Listener { if (item.type != Material.TOTEM_OF_UNDYING || event.slot != 40) return if (plugin.lastTotem[player.uniqueId] != null) return - val lastUse = plugin.lastTotem[player.uniqueId] if (plugin.server.tickTimes.last().minus(lastUse!!) > ticks) return