Hey guys! Omni here again bringing you another cheesy opening. Now some of you may not be as impressed with this latest dev build because of its lack of new in-game features but fear not! This development build changes A LOT of the core mechanics Project Korra runs on, more specifically the entire way Abilities are handled was rewritten, big shout out to @jacklin213 for being a boss. This massive change along with other smaller changes riddled throughout this build should increase the plugins performance and is the first step to replacing our old, heavy stingy code with much more modular, light-weight code. Attention all add-on developers and server owners! Please read this post by Jacklin213 about how these changes will affect your addo-ns and servers because I assure you ALL ADD-ONS WILL BREAK FROM THIS: http://projectkorra.com/forum/threads/important-changes-coming-to-projectkorra-beta-13.3322/
General Changes
Bug Fixes
General Changes
- Massive Rewrite
- Add AddonAbility class
- CoreAbility:
- Add containsPlayer(), getAbilitiesFromPlayer(), getAbilityFromPlayer(), getInstances(StockAbility), getInstances(Class), progressAll(StockAbility), progressAll(Class), removeAll(StockAbility), removeAll(Class), isStockAbility()
- Document Ability classs
- Rename BaseAbility to CoreAbility
- Rename StockAbilities to StockAbility
- Convert all of Air and Fire to new system as well as fix bugs
- CoreAbility:
- Update putInstance(), removeInstance() to support new Map type
- Change instances to ConcurrentHashMap<Integer, CoreAbility>
- Document CoreAbility
- CoreAbility:
- Remove removeAll(), progressAll(), getInstance() for safety reasons
- Project Korra now runs on Spigot 1.8.8
Bug Fixes
- Add-on can now write to Project Korra’s Config file
- Combos now work again
- /b reload now respects Air and Fire config variables along with other variables such as air particle (sadly no water and earth yet, they are on their way)
- Presets are fixed!