Strokkur24
Strokkur24
> Internally, the item is already being removed from the player's inventory by setting its type to air and amount to 0 so you don't need to remove it yourself...
> in my tests it worked (1.21.1 and 1.21.3) When I remove that line, it turns into an dupe glitch đ„ https://github.com/user-attachments/assets/86db1db4-a9ba-4c8a-9ac8-1acd7d08951e ```java @EventHandler public void onInventoryClick(final InventoryClickEvent event) {...
Oops, the patch has a problem. Give me a second to fix it
Closing pre softspoon PR in favour of new one
Very well. Will update the PR once #421 has been merged
> That's a very bad translation. "[...] Es verÀndert den Aspekt von einigen entfernten Blöcken" Aspekt is clearly the wrong word here, as it means something like Angle of view,...
I can reproduce this on the latest build consistently with this test code: ```java @EventHandler public void onPlayerRiptide(PlayerRiptideEvent event) { this.getLogger().info("A player just triggered a PRE"); } ``` Using a...
Looking into this a bit deeper it seems that `net.minecraft.world.entity.LivingEntity#releaseUsingItem()` has its `this.useItem` as an empty item when switching, which causes the event to not happen server-side, yet the client...
Seems to be related to this bug on the Mojang bug tracker: https://bugs.mojang.com/browse/MC-249911
I tested this again, and it seems to no longer be an issue. Switching the item right before releasing the trident now no longer applies the trident boost