Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F225232
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 fb8a4a8..1ab1d50 100644
--- a/src/me/despawningbone/HLR/Timer.java
+++ b/src/me/despawningbone/HLR/Timer.java
@@ -1,19 +1,18 @@
package me.despawningbone.HLR;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
public class Timer {
public static int taskid;
- public void main(String args[]) {
+ public void main(Player player) {
taskid = Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(Bukkit.getPluginManager().getPlugin("HLR"), new Runnable() {
@Override
public void run() {
- HLRCommandMain.start = false;
- Player player = HLRCommandMain.executor;
+ HLRCommandMain.start.put(player, false);
player.sendMessage(ChatColor.YELLOW + "You can now use /converthopper again.");
}
}, ConfigHandler.time);
}
-}
\ No newline at end of file
+}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Mar 14, 6:11 PM (3 h, 13 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3f/9e/9c991c5fc532c5c2c40ca7dbe49e
Attached To
rHLR HLR
Event Timeline
Log In to Comment