mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-22 18:46:45 +01:00
Return class name slugs in MobArenaHandler.
This commit is contained in:
parent
31282014b3
commit
7288fc566b
@ -37,6 +37,7 @@ These changes will (most likely) be included in the next version.
|
||||
- Guardians and elder guardians no longer instantly retarget players when they break line of sight. This should make their behavior work a bit closer to vanilla.
|
||||
- Items in class chests are now cloned before they are made unbreakable and given to players. This fixes an issue where setting `unbreakable-weapons: false` had no effect on the items. Note that any affected items in existing class chests will need to be replaced.
|
||||
- The MagicSpells integration has been removed. This means that the extra `magicspells.yml` config-file (if it exists) no longer does anything and can be removed.
|
||||
- (API) MobArenaHandler now returns class name slugs in the `getPlayerClass()` methods.
|
||||
|
||||
## [0.104.2] - 2020-01-03
|
||||
- The region overlap check now works across both arena and lobby regions, i.e. all four combinations of intersections between two regions (arena-arena, arena-lobby, lobby-arena, and lobby-lobby) are evaluated.
|
||||
|
@ -159,7 +159,7 @@ public class MobArenaHandler
|
||||
ArenaClass ac = ap.getArenaClass();
|
||||
if (ac == null) return null;
|
||||
|
||||
return ac.getLowercaseName();
|
||||
return ac.getSlug();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user