Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
973 stars 545 forks source link

Explosive pickaxe duplicates elevator plate when breaking it (or in the explode range) #4037

Open EienMiku opened 11 months ago

EienMiku commented 11 months ago

❗ Checklist

📍 Description

When I break a elevator plate or nearby block with an explosive pickaxe, the plate gets duplicated.

📑 Reproduction Steps

  1. Break a elevator plate or nearby block with an explosive pickaxe.
  2. The elevator plate got duplicated.

💡 Expected Behavior

The correct drops should be 1 of each, not 2.

📷 Screenshots / Videos

[21:52:55 ERROR]: [Slimefun] An Error occurred while copying a temporary File for Slimefun DEV - 1104 (git c977454e) java.nio.file.AccessDeniedException: data-storage\Slimefun\stored-blocks\world\ELECTRIC_SMELTERY_2.sfb.tmp -> data-storage\Slimefun\stored-blocks\world\ELECTRIC_SMELTERY_2.sfb at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) ~[?:?] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?] at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:317) ~[?:?] at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:293) ~[?:?] at java.nio.file.Files.move(Files.java:1432) ~[?:?] at me.mrCookieSlime.Slimefun.api.BlockStorage.save(BlockStorage.java:336) ~[Slimefun4 - DEV 1104 (git c9774).jar:?] at io.github.thebusybiscuit.slimefun4.core.services.AutoSavingService.saveAllBlocks(AutoSavingService.java:95) ~[Slimefun4 - DEV 1104 (git c9774).jar:?] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-196] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.1.jar:git-Paper-196] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.1.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:833) ~[?:?]

📜 Server Log

No response

📂 /error-reports/ folder

No response

💻 Server Software

Paper

🎮 Minecraft Version

1.20.x

⭐ Slimefun version

Slimefun DEV - 1104 (git c977454e)

🧭 Other plugins

No response

Boomer-1 commented 11 months ago

please don't combine issues in one report. the error report has nothing to do with the explosive pickaxe. I can confirm the dupe.

the error appears to be related to windows locking the file preventing slimefun from getting access to it.

EienMiku commented 11 months ago

the bug mentioned elsewhere does exist, sorry for my mistake about the wrong error report > <