Fix Digger job.
This commit is contained in:
parent
dae2daba04
commit
27deec38e0
32
BankEconomyMod/bin/me/kaZep/Base/.gitignore
vendored
32
BankEconomyMod/bin/me/kaZep/Base/.gitignore
vendored
@ -1,34 +1,2 @@
|
||||
/._PlayerListener.java1265619304918501342.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
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
/commandBankEconomy.class
|
||||
/commandBankEconomy$6.class
|
||||
/commandBankEconomy$7.class
|
||||
/commandBankEconomy$8.class
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4
BankEconomyMod/bin/sig/ItemSets/.gitignore
vendored
4
BankEconomyMod/bin/sig/ItemSets/.gitignore
vendored
@ -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);
|
||||
}
|
||||
}
|
||||
if (!allow_wood) {
|
||||
result.setResult(new ItemStack(Material.AIR));
|
||||
return;
|
||||
} else {
|
||||
if (allow_wood) {
|
||||
if (this.plugin.hasJobBuff("Woodcutter", p, Job.JOB40)) {
|
||||
ItemStack newstack = result.getResult();
|
||||
newstack.setAmount(20);
|
||||
@ -10404,7 +10401,7 @@ implements Listener
|
||||
}
|
||||
|
||||
//*****************************// 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)) {
|
||||
//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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user