mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
Forgot to remove drink from files
This commit is contained in:
parent
3ee52815a1
commit
e7b5d6ceee
@ -10,11 +10,13 @@ import com.gamingmesh.jobs.stuff.Util;
|
||||
public class jobsSign {
|
||||
|
||||
private String worldName;
|
||||
|
||||
private Integer x;
|
||||
private Integer y;
|
||||
private Integer z;
|
||||
private World world;
|
||||
private Location loc;
|
||||
|
||||
private Integer number;
|
||||
private String jobName;
|
||||
private Boolean special;
|
||||
@ -110,21 +112,21 @@ public class jobsSign {
|
||||
if (split.length > 0)
|
||||
try {
|
||||
x = Integer.parseInt(split[1]);
|
||||
} catch (Exception e) {
|
||||
} catch (NumberFormatException e) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (split.length > 1)
|
||||
try {
|
||||
y = Integer.parseInt(split[2]);
|
||||
} catch (Exception e) {
|
||||
} catch (NumberFormatException e) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (split.length > 2)
|
||||
try {
|
||||
z = Integer.parseInt(split[3]);
|
||||
} catch (Exception e) {
|
||||
} catch (NumberFormatException e) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -390,8 +390,6 @@ public class LanguageManager {
|
||||
c.get("command.info.output.fish.none", "%jobname% does not get money from fishing.");
|
||||
c.get("command.info.output.craft.info", "&eCraft");
|
||||
c.get("command.info.output.craft.none", "%jobname% does not get money from crafting.");
|
||||
c.get("command.info.output.drink.info", "&eDrink");
|
||||
c.get("command.info.output.drink.none", "%jobname% does not get money for drinking.");
|
||||
c.get("command.info.output.smelt.info", "&eSmelt");
|
||||
c.get("command.info.output.smelt.none", "%jobname% does not get money from smelting.");
|
||||
c.get("command.info.output.brew.info", "&eBrew");
|
||||
|
@ -881,14 +881,12 @@ public class JobsListener implements Listener {
|
||||
if (!(event.getBlock().getState() instanceof Dispenser))
|
||||
continue;
|
||||
|
||||
Dispenser dispenser = null;
|
||||
Dispenser dispenser = (Dispenser) event.getBlock().getState();
|
||||
BlockFace directionFacing = null;
|
||||
if (Version.isCurrentEqualOrLower(Version.v1_13_R2)) {
|
||||
dispenser = (Dispenser) event.getBlock().getState();
|
||||
org.bukkit.material.Dispenser dis = (org.bukkit.material.Dispenser) dispenser.getData();
|
||||
directionFacing = dis.getFacing();
|
||||
} else {
|
||||
dispenser = (Dispenser) event.getBlock().getState();
|
||||
org.bukkit.block.data.type.Dispenser dis = (org.bukkit.block.data.type.Dispenser) dispenser.getBlockData();
|
||||
directionFacing = dis.getFacing();
|
||||
}
|
||||
|
@ -243,17 +243,6 @@ Jobs:
|
||||
income: 1.0
|
||||
points: 1.0
|
||||
experience: 1.0
|
||||
# payment for drinking a potion
|
||||
Drink:
|
||||
water:
|
||||
income: 0.5
|
||||
experience: 2.0
|
||||
regeneration_2:
|
||||
income: 1.3
|
||||
experience: 2.0
|
||||
healing_1:
|
||||
income: 1.4
|
||||
experience: 2.0
|
||||
# payment for breaking a block with tnt
|
||||
TNTBreak:
|
||||
log:
|
||||
|
Loading…
Reference in New Issue
Block a user