Skip to content

Commit 837df0e

Browse files
committed
Update for 1.20.6
1 parent d28d72c commit 837df0e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ repositories {
1616

1717
dependencies {
1818
api("org.jetbrains:annotations-java5:24.1.0")
19-
compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
19+
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
2020
api("com.sk89q.worldedit:worldedit-core:7.2.9")
2121
api("com.sk89q.worldguard:worldguard-bukkit:7.0.7")
2222
compileOnly("net.countercraft:movecraft:+")
2323
}
2424

2525
group = "io.github.eirikh1996"
26-
version = "4.0.0_beta-2_dev-1"
26+
version = "4.0.0_beta-2_dev-2"
2727
description = "StructureBoxes"
28-
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
28+
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
2929

3030
tasks.jar {
3131
archiveBaseName.set("StructureBoxes")

src/main/java/io/github/eirikh1996/structureboxes/StructureBoxes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void onEnable() {
9393

9494
final Map data;
9595
try {
96-
File weConfig = new File(getWorldEditPlugin().getDataFolder(), "config" + (Settings.FAWE ? "-legacy" : "") + ".yml");
96+
File weConfig = new File(getWorldEditPlugin().getDataFolder(), (Settings.FAWE ? "worldedit-" : "") + "config" + ".yml");
9797
Yaml yaml = new Yaml();
9898
data = yaml.load(new FileInputStream(weConfig));
9999
} catch (IOException e){
@@ -253,7 +253,7 @@ public boolean isFreeSpace(UUID playerID, String schematicName, Collection<Locat
253253
World world = getServer().getWorld(location.getWorld());
254254
org.bukkit.Location bukkitLoc = new org.bukkit.Location(world, location.getX(), location.getY(), location.getZ());
255255
if (Settings.Debug) {
256-
world.spawnParticle(Particle.VILLAGER_ANGRY, bukkitLoc, 1);
256+
world.spawnParticle(Particle.ANGRY_VILLAGER, bukkitLoc, 1);
257257
}
258258
Material test = bukkitLoc.getBlock().getType();
259259
originalBlocks.put(location, test);

0 commit comments

Comments
 (0)