mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-11 10:01:30 +01:00
Deprecate Arena arenaName()
method.
Conversely to how the "lowercase name" of ArenaClass was deprecated in favor of the slug, the "arena name" method here is deprecated in favor of the "config name" of arenas. Instead of trying to pretty up an arena name (which is doomed to fail), we just use the "config name" for pretty printing instead, and start using slugs elsewhere. This should give way to a much better experience with multi-word arena names as well.
This commit is contained in:
parent
037c2ffa43
commit
f10c7e464c
@ -221,6 +221,10 @@ public interface Arena
|
||||
|
||||
String configName();
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #configName()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
String arenaName();
|
||||
|
||||
String getSlug();
|
||||
|
Loading…
Reference in New Issue
Block a user