mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +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>
|
||||
<groupId>Jobs</groupId>
|
||||
<artifactId>jobs</artifactId>
|
||||
<version>4.16.1</version>
|
||||
<version>4.16.2</version>
|
||||
<name>Jobs</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
|
@ -1693,7 +1693,7 @@ public class JobsPaymentListener implements Listener {
|
||||
"[max]", jPlayer.getMaxBrewingStandsAllowed() == 0 ? "-" : jPlayer.getMaxBrewingStandsAllowed()));
|
||||
}
|
||||
} else if (Version.isCurrentEqualOrHigher(Version.v1_13_R1) &&
|
||||
!block.getType().toString().startsWith("STRIPPED_") &&
|
||||
block.getType().toString().startsWith("STRIPPED_") &&
|
||||
event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
||||
ItemStack iih = Jobs.getNms().getItemInMainHand(p);
|
||||
if (iih.getType().toString().endsWith("_AXE")) {
|
||||
@ -1707,7 +1707,7 @@ public class JobsPaymentListener implements Listener {
|
||||
return;
|
||||
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> {
|
||||
if (block.getType().toString().startsWith("STRIPPED_") && jPlayer != null)
|
||||
if (jPlayer != null)
|
||||
Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.STRIPLOGS), block);
|
||||
}, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user