Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F368717
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/src/me/despawningbone/HLR/Timer.java b/src/me/despawningbone/HLR/Timer.java
index 1eb5737..e21374f 100644
--- a/src/me/despawningbone/HLR/Timer.java
+++ b/src/me/despawningbone/HLR/Timer.java
@@ -1,17 +1,16 @@
package me.despawningbone.HLR;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
public class Timer {
- public static int taskid;
- public void main(Player player) {
- taskid = Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(Bukkit.getPluginManager().getPlugin("HLR"), new Runnable() {
+ public static void cooldown(Player player) {
+ Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(Bukkit.getPluginManager().getPlugin("HLR"), new Runnable() {
@Override
public void run() {
HLRCommandMain.start.put(player, false);
player.sendMessage(ConfigHandler.prefix + ConfigHandler.msgMap.get("Timer.CanUseConvertCmd"));
}
}, ConfigHandler.time);
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 8:51 AM (8 h, 4 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
18/8e/2efb4b2ba29739d9cc1fc896a550
Attached To
rHLR HLR
Event Timeline
Log In to Comment