Open Dg32z opened 1 week ago
Thank you. I'll look into it in a few days when I have time.
EDIT: Are you left and right clicking at the same time? Right clicking and then left clicking? left and then right? What exactly are you doing?
Thank you. I'll look into it in a few days when I have time.
EDIT: Are you left and right clicking at the same time? Right clicking and then left clicking? left and then right? What exactly are you doing?
left and right clicking at the same time
After careful investigation, this appears to have to the same cause as the AirLiquidPlace false. This is an engine limitation (I think it's fixed in V3?) and there's not much I can do about this if you want a quick fix besides copying a model of the world that's 1 tick behind and checking against both that model and the current world model.
You'll either have to bear the cost of 2 async world models per player which would be utterly awful for performance and memory, or you'll have to wait for V3.
I have a few ideas of how to exempt instant break blocks from causing these falses but it'll take some time before I implement them. This will likely not be fixed for at least a few weeks but It's on my todo list.
UPDATE: I came up with a new idea to fix this while doing something else. Will try to implement next week.
B11 does not fully fix this but it does mitigate the issue and make it harder to trigger.
Describe the false positive and how to replicate it
https://github.com/user-attachments/assets/66a71e60-f168-4245-8c49-044af3e994fd
Grim version
Server version
[00:19:11 INFO]: Checking version, please wait... [00:19:13 INFO]: This server is running Paper version git-Paper-497 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: d8d54d9 on ver/1.20.4) You are 2 version(s) behind Download the new version at: https://papermc.io/downloads/paper Previous version: 1.21.1-128-d348cb8 (MC: 1.21.1)
Client version
vanilla 1.20.4
Plugins
[00:19:24 INFO]: Server Plugins (9): [00:19:24 INFO]: Bukkit Plugins: [00:19:24 INFO]: - Apollo-Bukkit, Citizens, GrimAC, LiteBans, LuckPerms, LunarPlugin, PlaceholderAPI, PlugManX, SimpleChat