We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://dump.viaversion.com/9f2c409337701d2716a574369ed0b64e585cbffe113b28d5e1d75305c73fbeb3
No response
Custom (org.bukkit.Player.setCooldown(Material, int)) item use cooldowns don't work for 1.12.2 players on the 1.18.2 server
org.bukkit.Player.setCooldown(Material, int)
The cooldown should display, because its packet exists in 1.12.2
Test plugin code, compiled using latest (1.18.2-R0.1-SNAPSHOT) paper-api:
package test; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import org.jetbrains.annotations.NotNull; public class TestPlugin extends JavaPlugin { @Override public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) { if (!(sender instanceof Player p)) return false; p.setCooldown(p.getInventory().getItemInMainHand().getType(), 200); return true; } }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Fix 1.13->1.12 item cooldown
c2ae3df
Fixes #450
No branches or pull requests
'/viaversion dump' Output
https://dump.viaversion.com/9f2c409337701d2716a574369ed0b64e585cbffe113b28d5e1d75305c73fbeb3
Console Error
No response
Bug Description
Custom (
org.bukkit.Player.setCooldown(Material, int)
) item use cooldowns don't work for 1.12.2 players on the 1.18.2 serverSteps to Reproduce
org.bukkit.Player.setCooldown(Material, int)
method via some plugin.Expected Behavior
The cooldown should display, because its packet exists in 1.12.2
Additional Server Info
Test plugin code, compiled using latest (1.18.2-R0.1-SNAPSHOT) paper-api:
Checklist
The text was updated successfully, but these errors were encountered: