Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tems-py committed Nov 3, 2023
1 parent e98d1cf commit 135fa27
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
Empty file modified gradlew
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 135fa27

Please sign in to comment.