Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F391978
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
Fri, Sep 19, 3:35 AM (5 h, 30 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
42/4f/1e0cda19dda24173dbe21aca00f5
Attached To
rHLR HLR
Event Timeline
Log In to Comment