mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
We are working with tasks here.
This commit is contained in:
parent
dce86d9c69
commit
3e9bb63894
2 changed files with 6 additions and 4 deletions
|
@ -16,7 +16,8 @@
|
||||||
|
|
||||||
package com.lishid.openinv.commands;
|
package com.lishid.openinv.commands;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.Map;
|
||||||
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
|
@ -32,7 +33,7 @@ import com.lishid.openinv.internal.InternalAccessor;
|
||||||
|
|
||||||
public class OpenEnderPluginCommand implements CommandExecutor {
|
public class OpenEnderPluginCommand implements CommandExecutor {
|
||||||
private final OpenInv plugin;
|
private final OpenInv plugin;
|
||||||
public static HashMap<Player, String> openEnderHistory = new HashMap<Player, String>();
|
public static Map<Player, String> openEnderHistory = new ConcurrentHashMap<Player, String>();
|
||||||
|
|
||||||
public OpenEnderPluginCommand(OpenInv plugin) {
|
public OpenEnderPluginCommand(OpenInv plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
|
|
||||||
package com.lishid.openinv.commands;
|
package com.lishid.openinv.commands;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.Map;
|
||||||
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
|
@ -32,7 +33,7 @@ import com.lishid.openinv.internal.InternalAccessor;
|
||||||
|
|
||||||
public class OpenInvPluginCommand implements CommandExecutor {
|
public class OpenInvPluginCommand implements CommandExecutor {
|
||||||
private final OpenInv plugin;
|
private final OpenInv plugin;
|
||||||
public static HashMap<Player, String> openInvHistory = new HashMap<Player, String>();
|
public static Map<Player, String> openInvHistory = new ConcurrentHashMap<Player, String>();
|
||||||
|
|
||||||
public OpenInvPluginCommand(OpenInv plugin) {
|
public OpenInvPluginCommand(OpenInv plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
|
|
Loading…
Reference in a new issue