mirror of
https://github.com/NEZNAMY/TAB.git
synced 2026-11-26 10:29:49 -05:00
fixed issue
This commit is contained in:
1 parent
7e88964267
commit
53e282bb84
2 files changed
+1
-2
No files matched your search
@@ -62,7 +62,6 @@ public class Main extends JavaPlugin implements Listener, MainClass{
|
||||
public String call() throws Exception {
|
||||
return Configs.unlimitedTags ? "Yes" : "No";
|
||||
}
|
||||
|
||||
}));
|
||||
if (!disabled) Shared.print("§a", "Enabled in " + (System.currentTimeMillis()-total) + "ms");
|
||||
} else {
|
||||
|
||||
@@ -155,7 +155,7 @@ public abstract class ITabPlayer{
|
||||
public String getActiveProperty(Object line) {
|
||||
if (line.equals("nametag")) return getTagFormat();
|
||||
String value = getTemporaryProperty(line) != null ? getTemporaryProperty(line) : getOriginalProperty(line);
|
||||
if ((line+"").contains("custom") && value == null) return getName();
|
||||
if ((line+"").contains("custom") && (value == null || value.length() == 0)) return getName();
|
||||
return value;
|
||||
}
|
||||
public String getTemporaryProperty(Object line) {
|
||||
|
||||
Reference in new issue
Block a user