This commit is contained in:
Blackvein 2012-11-05 07:05:58 -08:00
parent f86765c90e
commit 97a48db886
2 changed files with 14 additions and 2 deletions

View File

@ -261,7 +261,7 @@ public class PlayerListener implements Listener {
@EventHandler
public void onCraftItem(CraftItemEvent evt) {
if (evt.getWhoClicked() instanceof Player) {
Player p = (Player) evt.getWhoClicked();
@ -274,6 +274,12 @@ public class PlayerListener implements Listener {
}
if(evt.isShiftClick()){
evt.
}
}
}
@ -505,7 +511,7 @@ public class PlayerListener implements Listener {
if(evt.getInventory().getType().equals(InventoryType.CRAFTING) && evt.getRawSlot() == 0)
return;
List<Integer> changedSlots = Quester.getChangedSlots(evt.getInventory(), evt.getCurrentItem());
boolean can = true;
for (int i : changedSlots) {

View File

@ -3799,4 +3799,10 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
return null;
}
public int getCraftTimes(Inventory i, Recipe r){
return 0;
}
}