mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 08:25:07 +00:00
e757cea57a
## Additions * use spigot method for entities around point, should be more optimized * optimizations to water and air spout to not continually set flying * optimization 1 for revertchecker: do not use block.getChunk as this will load the chunk on the server and instead use hashmap of coords * optimization 2 for revertcheck: use paperlib to allow servers running paper to load the chunk for a revert block async * optimize tempblock revert to load chunk async before updating state * create local folder repo and update pom for local jar files, this is necessary to use the maven shade plugin. Put a comment in the pom for how to add new dependencies * add specific timings for hot spots in the code: player move event, physics event, and bending manager. Should help server owners diagnose lag from PK * optimize move event to ignore head movements without directional movement * optimize physics event to check for air prior to checking for tempblocks * optimize tempblock set/revert to not apply physics for blocks that dont emit light * check for concrete powder in move earth * optimize isWater to hit actual water blocks first * optimize PhaseChange list check, hot spot due to being called in physics event * add "large" abilities collision with each other * remove HorizontalVelocityTracker that has lasted over 30 seconds, also don't create a tracker for non-living entities * add config to ignore ores completely for EarthTunnel (good for mining) * add config option for multiple blocks to be changed per earthtunnel run, allowing for much faster earth tunnels * add config option to allow snow to be used for ice blast * add config options for avatar state cooldowns for IceBlast and IceBullet * add config option for ice trap type moves to not place blocks in players head or feet * add PlaceholderAPI support for %projectkorra_slot<1-9>% %projectkorra_element% %projectkorra_elementcolor% %projectkorra_elements% * add "bending" WorldGuard flag. Used for allowing or denying bending in worldguard regions. Will fallback to the old method of the build flag if the custom flag fails to register or isn't set ## Fixes * wrong plugin version * remove unnecessary code from avatar state causing cooldown removal * fix error in EarthGrab remove * fix error with TempArmor remove if some armor was null * fix NPE and CME in WaterArms * fix sound error in AirSuction * fix NPE in player chat * fix error when damaging item frame * fix NPE in FireManipulation getting locations * fix NPE in WaterSpout getting locations * fix NPE in HeatControl * prevent placing blocks in earth tunnel air, and fix error with placing blocks in tempblocks * fix AirSweep affecting toggled invincible * fix illumination torch replacing fences allowing players to pass through them * fix AirShield vector * fix AirSwipe not being removed * fix AirSuction not checking worlds * remove firestream tasks on JetBlast/JetBlaze removal * division by 0 fix for tornado (entity location and origin location being equal) * NaN vector fix for airstream (location and destination being equal) * use actual list of undead for isUndead from the wiki * fix BloodBending affecting armor stands * fix AirSweep vector * fix IceBullet combo to function better * fix isMeltable to use ElementalAbility functions * fix Paralyze trying to paralyze non-living entities ## Removals * remove plotsquared support, and bentobox leftovers * remove unnecessary flight handlers |
||
---|---|---|
.. | ||
4.8.3.1 | ||
maven-metadata-local.xml |