Slimefun4 icon indicating copy to clipboard operation
Slimefun4 copied to clipboard

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

Open EienMiku opened this issue 1 year ago โ€ข 2 comments

โ— Checklist

  • [X] I am using the official english version of Slimefun and did not modify the jar.
  • [X] I am using an up to date "DEV" (not "RC") version of Slimefun.
  • [X] I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • [X] I searched for similar open issues and could not find an existing bug report on this.

๐Ÿ“ 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

EienMiku avatar Dec 02 '23 14:12 EienMiku

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.

Boomer-1 avatar Dec 02 '23 15:12 Boomer-1

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

EienMiku avatar Dec 02 '23 15:12 EienMiku