Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F746345
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
Mon, Jun 29, 10:52 PM (1 d, 18 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/c6/79de8b1cfde537388c8dd2ab828b
Attached To
rHLR HLR
Event Timeline
Log In to Comment