1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Bump jobs version

This commit is contained in:
montlikadani 2020-10-04 20:06:58 +02:00
parent 2c369c57db
commit c8bb020587
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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);
}