Open RanokES opened 5 years ago
Until it gets fixed, you can avoid this by enabling Settings.use-old-teleportation-method
in the config. Both methods have their own issues depending on the server: the vanilla (Bukkit) one will actually teleport the horse but may not work well in plugin-protected areas ; the new one (ZHorse) does not move the horse but deletes and re-create it from scratch at the destination location.
The custom teleportation method has several layers of checks to ensure that the old horse was indeed deleted so it may take quite some time for me to be able to reproduce this issue and figure out what is not working here.
@RanokES Could you make sure that you were running the latest PaperMC build for 1.14.4 at the time those bugs happened ? I got reports from previous builds saying that there was an issue with chunks (un)loading which can impact the removal of duplicate horses.
Also, could you try to duplicate a horse again (juste enable back the new teleportation method and use /zh reload
) and do the following ? :
Also, I forgot to mention, you can set a cooldown on the /zh here
command so that players won't be able to spam it.
@Zedd7 We are testing this in the 233 build of PaperMC, so yeah, it duplicates in the latest version.
For your other questions:
Well can't we just add a 20 seconds command cooldown to make sure this "feature" cannot be utilized at all?
Well can't we just add a 20 seconds command cooldown to make sure this "feature" cannot be utilized at all?
Yes you can
@Zedd7 I'm sorry... I just print some of my first impression on this topic...
Bug report
What are you trying to do ?
Duplicate horses with /zh here and all the items they have. It works also for mules.
What is the expected behavior ?
It's expected to just teleport one horse to you, not to duplicate it.
What is the actual behavior ?
After spamming for some times /zh here, the horse/mule/whatever duplicates.
How to reproduce the bug ?
Console output
There is no console output.
Environment specifications