mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
Cleaning up item database from duplicates
This commit is contained in:
parent
fe9d6960c7
commit
7b8fa29cd4
2
pom.xml
2
pom.xml
@ -159,7 +159,7 @@
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.3.1</version>
|
||||
<configuration>
|
||||
<outputDirectory>C:\Users\Arte\Desktop\Server\plugins</outputDirectory>
|
||||
<outputDirectory>C:\Users\Arte\Desktop\Server 1.13\plugins</outputDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -78,7 +78,6 @@ import org.bukkit.inventory.AnvilInventory;
|
||||
import org.bukkit.inventory.EnchantingInventory;
|
||||
import org.bukkit.inventory.Inventory;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.material.Crops;
|
||||
import org.bukkit.metadata.FixedMetadataValue;
|
||||
import org.bukkit.metadata.MetadataValue;
|
||||
import org.bukkit.projectiles.ProjectileSource;
|
||||
@ -377,18 +376,7 @@ public class JobsPaymentListener implements Listener {
|
||||
FurnaceBrewingHandling.removeBrewing(block);
|
||||
|
||||
BlockActionInfo bInfo = new BlockActionInfo(block, ActionType.BREAK);
|
||||
// Checks whether or not the plant is ripe if it does not get money at that time
|
||||
if (block.getType().equals(CMIMaterial.WHEAT_SEEDS) || block.getType().equals(CMIMaterial.BEETROOT_SEEDS) ||
|
||||
block.getType().equals(CMIMaterial.MELON_SEEDS) || block.getType().equals(CMIMaterial.WHEAT_SEEDS) ||
|
||||
block.getType().equals(CMIMaterial.PUMPKIN_SEEDS) || block.getType().equals(CMIMaterial.CARROT) ||
|
||||
block.getType().equals(CMIMaterial.COCOA_BEANS) || block.getType().equals(CMIMaterial.POTATO) ||
|
||||
block.getType().equals(CMIMaterial.NETHER_WART) || block.getType().equals(CMIMaterial.WHEAT)) {
|
||||
Crops crop = (Crops) block.getState();
|
||||
if (crop.getState() == CropState.RIPE) {
|
||||
// continue to get money
|
||||
} else
|
||||
return;
|
||||
}
|
||||
|
||||
FastPayment fp = Jobs.FastPayment.get(player.getName());
|
||||
if (fp != null) {
|
||||
if (fp.getTime() > System.currentTimeMillis()) {
|
||||
|
Loading…
Reference in New Issue
Block a user