mirror of https://github.com/PikaMug/Quests.git
Ignore placing of Glass Bottle, see #2096
This commit is contained in:
parent
60368fddd9
commit
3d8179f55d
|
@ -163,6 +163,9 @@ public class ItemListener implements Listener {
|
|||
}
|
||||
|
||||
public boolean isAllowedBrewingAction(final InventoryClickEvent event) {
|
||||
if (event.getCursor() != null && event.getCursor().getType().equals(Material.GLASS_BOTTLE)) {
|
||||
return true;
|
||||
}
|
||||
final int slot = event.getRawSlot();
|
||||
final InventoryAction action = event.getAction();
|
||||
// Prevent shift-click into Brewing Stand
|
||||
|
|
Loading…
Reference in New Issue