Fix Digger job.

dev
sigonasr2 11 years ago
parent dae2daba04
commit 27deec38e0
  1. 32
      BankEconomyMod/bin/me/kaZep/Base/.gitignore
  2. BIN
      BankEconomyMod/bin/me/kaZep/Base/ArrowShooter.class
  3. BIN
      BankEconomyMod/bin/me/kaZep/Base/EnchantLevelDatabase.class
  4. BIN
      BankEconomyMod/bin/me/kaZep/Base/Main$1.class
  5. BIN
      BankEconomyMod/bin/me/kaZep/Base/Main$2.class
  6. BIN
      BankEconomyMod/bin/me/kaZep/Base/Main$3.class
  7. BIN
      BankEconomyMod/bin/me/kaZep/Base/Main$4.class
  8. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerBuffData.class
  9. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerData.class
  10. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$1.class
  11. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$10.class
  12. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$11.class
  13. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$12.class
  14. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$13.class
  15. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$14.class
  16. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$15.class
  17. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$16.class
  18. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$17.class
  19. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$2.class
  20. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$3.class
  21. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$4.class
  22. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$5.class
  23. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$6.class
  24. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$7.class
  25. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$8.class
  26. BIN
      BankEconomyMod/bin/me/kaZep/Base/PlayerListener$9.class
  27. 4
      BankEconomyMod/bin/me/kaZep/Commands/.gitignore
  28. BIN
      BankEconomyMod/bin/me/kaZep/Commands/JobsDataInfo.class
  29. BIN
      BankEconomyMod/bin/me/kaZep/Commands/commandBankEconomy$1.class
  30. BIN
      BankEconomyMod/bin/me/kaZep/Commands/commandBankEconomy$2.class
  31. BIN
      BankEconomyMod/bin/me/kaZep/Commands/commandBankEconomy$3.class
  32. BIN
      BankEconomyMod/bin/me/kaZep/Commands/commandBankEconomy$4.class
  33. BIN
      BankEconomyMod/bin/me/kaZep/Commands/commandBankEconomy$5.class
  34. BIN
      BankEconomyMod/bin/me/kaZep/Commands/commandBankEconomy$6.class
  35. BIN
      BankEconomyMod/bin/me/kaZep/Commands/commandBankEconomy.class
  36. 4
      BankEconomyMod/bin/sig/ItemSets/.gitignore
  37. 7
      BankEconomyMod/src/me/kaZep/Base/PlayerListener.java

@ -1,34 +1,2 @@
/._PlayerListener.java1265619304918501342.tmp /._PlayerListener.java1265619304918501342.tmp
/._PlayerListener.java3998199996590245987.tmp /._PlayerListener.java3998199996590245987.tmp
/Main.class
/Main$1.class
/Main$2.class
/Main$3.class
/Main$4.class
/PlayerBuffData.class
/PlayerListener.class
/PlayerListener$1.class
/PlayerListener$10.class
/PlayerListener$11.class
/PlayerListener$12.class
/PlayerListener$13.class
/PlayerListener$14.class
/PlayerListener$15.class
/PlayerListener$16.class
/PlayerListener$17.class
/PlayerListener$18.class
/PlayerListener$19.class
/PlayerListener$2.class
/PlayerListener$20.class
/PlayerListener$21.class
/PlayerListener$22.class
/PlayerListener$3.class
/PlayerListener$4.class
/PlayerListener$5.class
/PlayerListener$6.class
/PlayerListener$7.class
/PlayerListener$8.class
/PlayerListener$9.class
/PlayerListener$Cube.class
/RecyclingCenterNode.class
/updateInventoryTask.class

@ -1,4 +0,0 @@
/commandBankEconomy.class
/commandBankEconomy$6.class
/commandBankEconomy$7.class
/commandBankEconomy$8.class

@ -1,4 +0,0 @@
/ColorSet.class
/ItemSet.class
/ItemSetList.class
/ItemSetList$Armor.class

@ -4638,10 +4638,7 @@ implements Listener
p=(Player)e.getInventory().getViewers().get(i); p=(Player)e.getInventory().getViewers().get(i);
} }
} }
if (!allow_wood) { if (allow_wood) {
result.setResult(new ItemStack(Material.AIR));
return;
} else {
if (this.plugin.hasJobBuff("Woodcutter", p, Job.JOB40)) { if (this.plugin.hasJobBuff("Woodcutter", p, Job.JOB40)) {
ItemStack newstack = result.getResult(); ItemStack newstack = result.getResult();
newstack.setAmount(20); newstack.setAmount(20);
@ -10404,7 +10401,7 @@ implements Listener
} }
//*****************************// Job buffs here //*****************************// Job buffs here
Bukkit.getLogger().info("Click type is "+event.getClick().name()); //Bukkit.getLogger().info("Click type is "+event.getClick().name());
if (event.getSlotType()==SlotType.RESULT && (event.getInventory().getType()==InventoryType.CRAFTING || event.getInventory().getType()==InventoryType.PLAYER || event.getInventory().getType()==InventoryType.WORKBENCH)) { if (event.getSlotType()==SlotType.RESULT && (event.getInventory().getType()==InventoryType.CRAFTING || event.getInventory().getType()==InventoryType.PLAYER || event.getInventory().getType()==InventoryType.WORKBENCH)) {
//Check if level 5 digger. //Check if level 5 digger.
if ((this.plugin.hasJobBuff("Digger", p, Job.JOB5) || this.plugin.hasJobBuff("Digger", p, Job.JOB40)) && event.getCurrentItem().getType()==Material.CLAY_BALL) { if ((this.plugin.hasJobBuff("Digger", p, Job.JOB5) || this.plugin.hasJobBuff("Digger", p, Job.JOB40)) && event.getCurrentItem().getType()==Material.CLAY_BALL) {

Loading…
Cancel
Save