提交 9b74de31 编写于 作者: C Christoph Kutzinski

make clear, where the lenght 6 comes from

上级 852c2f1f
......@@ -135,7 +135,7 @@ public enum BallColor implements StatusIcon {
* Gets the unanimated version.
*/
public BallColor noAnime() {
if(isAnimated()) return valueOf(name().substring(0,name().length()-6));
if(isAnimated()) return valueOf(name().substring(0,name().length()-"_ANIME".length()));
else return this;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册