fixed issue

This commit is contained in:
NEZNAMY committed 2019-08-07 16:38:35 +02:00
1 parent 7e88964267
commit 53e282bb84
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -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 {
+1 -1
View File
@@ -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) {