Skip to content

Commit cadff9d

Browse files
authored
Fix build (#7)
* Update versions * Update WorldEditHandler.java
1 parent 38e009c commit cadff9d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
22
`java-library`
33
`maven-publish`
4-
id("io.github.0ffz.github-packages") version "1.2.1"
5-
id("io.papermc.hangar-publish-plugin") version "0.1.2"
4+
id("io.github.apdevteam.github-packages") version "1.2.2"
5+
id("io.papermc.hangar-publish-plugin") version "0.1.3"
66
}
77

88
repositories {

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public void run() {
258258
session.flushSession();
259259
sbMain.clearInterior(interior);
260260
structure.setPlacementTime(System.currentTimeMillis());
261+
session.close();
261262
} catch (WorldEditException e) {
262263
e.printStackTrace();
263264
}

0 commit comments

Comments
 (0)