mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 10:08:54 +00:00
Add some Api RecipeName <-> ItemStack
This commit is contained in:
@@ -23,7 +23,7 @@ public class ShopKeepersListener implements Listener {
|
||||
Set<HumanEntity> openedEditors = new HashSet<>();
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||
public void onShopCreated(PlayerOpenUIEvent event) {
|
||||
public void onShopkeeperOpen(PlayerOpenUIEvent event) {
|
||||
try {
|
||||
if (event.getUIType() == DefaultUITypes.EDITOR() || event.getUIType() == DefaultUITypes.TRADING()) {
|
||||
openedEditors.add(event.getPlayer());
|
||||
|
||||
Reference in New Issue
Block a user