mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2025-11-24 21:26:25 +00:00
update PlayerListener.java
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
package org.maxgamer.QuickShop.Listeners;
|
package org.maxgamer.QuickShop.Listeners;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
||||||
@@ -65,7 +65,7 @@ public class PlayerListener implements Listener {
|
|||||||
p.openInventory(in);
|
p.openInventory(in);
|
||||||
}
|
}
|
||||||
// Add the new action
|
// 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);
|
final Info info = new Info(shop.getLocation(), ShopAction.BUY, null, null, shop);
|
||||||
actions.put(p.getName(), info);
|
actions.put(p.getName(), info);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user