Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 256224e144 | |||
| 02856bc49a | |||
| d9cfdb218e | |||
| aa152599bb | |||
| 3e7dafcabe | |||
| 651b02200f | |||
|
|
14543e878f | ||
|
|
099431df0f | ||
|
|
fb9f5db652 | ||
|
|
21ccb2bf94 | ||
|
|
552267019a | ||
|
|
d2eb8e6c71 | ||
|
|
c9367a2098 | ||
|
|
3f33d2efc2 |
@@ -36,9 +36,12 @@ public class replanting {
|
||||
target.getLocation().getWorld().dropItem(loc, new ItemStack(item[0]));
|
||||
}
|
||||
|
||||
for(int i = 0; i < amount[1]; i++) {
|
||||
target.getLocation().getWorld().dropItem(loc, new ItemStack(item[1]));
|
||||
if (amount.length > 1) {
|
||||
for (int i = 0; i < amount[1]; i++) {
|
||||
target.getLocation().getWorld().dropItem(loc, new ItemStack(item[1]));
|
||||
}
|
||||
}
|
||||
|
||||
crop.setAge(0);
|
||||
target.setBlockData(crop);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package de.steev.bm.Listener;
|
||||
|
||||
import de.steev.bm.BetterMinecraft;
|
||||
import de.steev.bm.Manager.GameManager;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.World;
|
||||
@@ -49,5 +48,4 @@ public class BedListener implements Listener {
|
||||
this.gameManager.getPlugin().playerInBed = 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user