Skip to content

Commit dacc574

Browse files
committed
Fixes
1 parent a24f3dd commit dacc574

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ neoforge-minecraft = "1.21.4"
1717

1818
sponge-minecraft = "1.21.4"
1919
# https://repo.spongepowered.org/service/rest/repository/browse/maven-public/org/spongepowered/spongeapi/
20-
sponge-api = "14.0.0-20241229.134205-2"
20+
sponge-api = "14.0.0-20250114.224746-4"
2121
sponge-api-major = "14"
2222

2323
# https://parchmentmc.org/docs/getting-started; note that we use older MC versions some times which is OK

worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorld.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ public <B extends BlockStateHolder<B>> boolean setBlock(BlockVector3 position, B
207207
.withBlocksMoving(false)
208208
.withForcedReRender(false)
209209
.withIgnoreRender(false)
210+
.withPerformBlockDestruction(false)
210211
);
211212
if (!didSet) {
212213
// still update NBT if the block is the same

worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEditListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void onPlayerInteractBlockPrimary(InteractBlockEvent.Primary.Start event,
124124
}
125125

126126
@Listener
127-
public void onPlayerInteractBlockSecondary(InteractBlockEvent.Secondary event, @Root ServerPlayer spongePlayer) {
127+
public void onPlayerInteractBlockSecondary(InteractBlockEvent.Secondary.Pre event, @Root ServerPlayer spongePlayer) {
128128
if (skipInteractionEvent(event)) {
129129
return;
130130
}

0 commit comments

Comments
 (0)