Bugfixes
This commit is contained in:
@@ -130,7 +130,7 @@ public class Map implements Comparable<Map>, Publishable{
|
||||
}
|
||||
|
||||
public String tag(String name){
|
||||
return tags.containsKey(name) && !tags.get(name).trim().isEmpty() ? tags.get(name) : Core.bundle.get("unknown");
|
||||
return tags.containsKey(name) && !tags.get(name).trim().isEmpty() ? tags.get(name) : Core.bundle.get("unknown", "unknown");
|
||||
}
|
||||
|
||||
public boolean hasTag(String name){
|
||||
|
||||
@@ -59,6 +59,7 @@ public class Maps{
|
||||
|
||||
/** @return the next map to shuffle to. May be null, in which case the server should be stopped. */
|
||||
public @Nullable Map getNextMap(Gamemode mode, @Nullable Map previous){
|
||||
if(shuffler != null) return shuffler.next(mode, previous);
|
||||
return shuffleMode.next(mode, previous);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user