8 Commits

5 changed files with 12 additions and 9 deletions

View File

@ -3,7 +3,7 @@ name: Build and Release Minecraft Plugin
on:
push:
branches:
- main
- release
jobs:
build:

View File

@ -1,9 +1,9 @@
name: Build and Release Minecraft Plugin
on:
push:
merge:
branches:
- Release
- testing
jobs:
build:
@ -58,8 +58,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
target/BetterMinecraft-stable.jar
target/BetterMinecraft-beta.jar
tag_name: ${{ steps.increment_version.outputs.major }}.${{ steps.increment_version.outputs.minor }}.${{ steps.increment_version.outputs.patch }}
release_name: Release ${{ steps.increment_version.outputs.major }}.${{ steps.increment_version.outputs.minor }}.${{ steps.increment_version.outputs.patch }}
draft: false
prerelease: false
prerelease: true

2
changelog.txt Normal file
View File

@ -0,0 +1,2 @@
+ added system type changelog
+ added custom type changelog

View File

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

View File

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