mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-24 02:18:54 +00:00
update PlayerListener.java
This commit is contained in:
parent
5dd8dd78af
commit
c193f2bc95
@ -1,6 +1,6 @@
|
||||
package org.maxgamer.QuickShop.Listeners;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.GameMode;
|
||||
@ -65,7 +65,7 @@ public class PlayerListener implements Listener {
|
||||
p.openInventory(in);
|
||||
}
|
||||
// Add the new action
|
||||
final HashMap<String, Info> actions = plugin.getShopManager().getActions();
|
||||
final Map<String, Info> actions = plugin.getShopManager().getActions();
|
||||
final Info info = new Info(shop.getLocation(), ShopAction.BUY, null, null, shop);
|
||||
actions.put(p.getName(), info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user