mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-01 15:03:36 +01:00
Bump jobs version
This commit is contained in:
parent
2c369c57db
commit
c8bb020587
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>Jobs</groupId>
|
<groupId>Jobs</groupId>
|
||||||
<artifactId>jobs</artifactId>
|
<artifactId>jobs</artifactId>
|
||||||
<version>4.16.1</version>
|
<version>4.16.2</version>
|
||||||
<name>Jobs</name>
|
<name>Jobs</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
|
|
||||||
|
@ -1693,7 +1693,7 @@ public class JobsPaymentListener implements Listener {
|
|||||||
"[max]", jPlayer.getMaxBrewingStandsAllowed() == 0 ? "-" : jPlayer.getMaxBrewingStandsAllowed()));
|
"[max]", jPlayer.getMaxBrewingStandsAllowed() == 0 ? "-" : jPlayer.getMaxBrewingStandsAllowed()));
|
||||||
}
|
}
|
||||||
} else if (Version.isCurrentEqualOrHigher(Version.v1_13_R1) &&
|
} else if (Version.isCurrentEqualOrHigher(Version.v1_13_R1) &&
|
||||||
!block.getType().toString().startsWith("STRIPPED_") &&
|
block.getType().toString().startsWith("STRIPPED_") &&
|
||||||
event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
||||||
ItemStack iih = Jobs.getNms().getItemInMainHand(p);
|
ItemStack iih = Jobs.getNms().getItemInMainHand(p);
|
||||||
if (iih.getType().toString().endsWith("_AXE")) {
|
if (iih.getType().toString().endsWith("_AXE")) {
|
||||||
@ -1707,7 +1707,7 @@ public class JobsPaymentListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> {
|
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> {
|
||||||
if (block.getType().toString().startsWith("STRIPPED_") && jPlayer != null)
|
if (jPlayer != null)
|
||||||
Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.STRIPLOGS), block);
|
Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.STRIPLOGS), block);
|
||||||
}, 1);
|
}, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user