[SPIGOT-1823] getBlockAt() causing more lag than in 1.8 Created: 07/Mar/16  Updated: 07/Mar/16  Resolved: 07/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Tom Miller Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.9


 Description   

Not sure what else to say, but for whatever reason it seems that Bukkit.getWorld().getBlockAt() is a much heavier call than it used to be, I have schematics that paste in and out on an interval and it calls setType on hundreds of blocks at a time, causing bigger hits than in the past.

Timings of late: http://timings.aikar.co/?url=15319077

The Boat lambda is what's doing the pasting.


Generated at Fri Mar 21 18:15:51 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.