mirror of
https://github.com/NEZNAMY/TAB.git
synced 2026-11-26 10:29:49 -05:00
barely used anyway
This commit is contained in:
1 parent
e64a6ead90
commit
fb6f61badf
1 file changed
-11
@@ -2,10 +2,6 @@ package me.neznamy.tab.shared;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import me.neznamy.tab.shared.placeholders.Placeholder;
|
||||
import me.neznamy.tab.shared.placeholders.Placeholders;
|
||||
import me.neznamy.tab.shared.placeholders.ServerConstant;
|
||||
|
||||
/**
|
||||
* A class representing an animation from animations.yml
|
||||
*/
|
||||
@@ -19,13 +15,6 @@ public class Animation {
|
||||
this.name = name;
|
||||
this.interval = Shared.errorManager.fixAnimationInterval(name, interval);
|
||||
this.messages = Shared.errorManager.fixAnimationFrames(name, list).toArray(new String[0]);
|
||||
for (int i=0; i<messages.length; i++) {
|
||||
for (Placeholder c : Placeholders.getAllPlaceholders()) {
|
||||
if (c instanceof ServerConstant && messages[i].contains(c.getIdentifier())) {
|
||||
messages[i] = messages[i].replace(c.getIdentifier(), ((ServerConstant)c).get());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public String[] getAllMessages() {
|
||||
return messages;
|
||||
|
||||
Reference in new issue
Block a user