mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-23 02:55:40 +01:00
Correct formatting of #1619
This commit is contained in:
parent
fcad9600cd
commit
dd270283fc
@ -94,8 +94,8 @@ public class PlayerListener implements Listener {
|
|||||||
evt.setCancelled(true);
|
evt.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (ac.equals(InventoryAction.SWAP_WITH_CURSOR))) {
|
} else if (ac.equals(InventoryAction.SWAP_WITH_CURSOR)) {
|
||||||
ItemStack item=evt.getWhoClicked().getInventory().getItem(event.getHotbarButton());
|
final ItemStack item = evt.getWhoClicked().getInventory().getItem(evt.getHotbarButton());
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
if (ItemUtil.isItem(item) && ItemUtil.isJournal(item)) {
|
if (ItemUtil.isItem(item) && ItemUtil.isJournal(item)) {
|
||||||
evt.setCancelled(true);
|
evt.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user