mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-28 04:07:29 +02:00
Hide purpur's modded server decision
This commit is contained in:
parent
1eafa0f357
commit
e94067b9f0
@ -2320,6 +2320,11 @@ public class ReflectionManager {
|
||||
MetaIndex flagType = MetaIndex.getMetaIndex(disguiseType.getWatcherClass(), watch.getIndex());
|
||||
|
||||
if (flagType == null) {
|
||||
// Hide purpur's decision to become a modded server
|
||||
if (disguiseType == DisguiseType.GLOW_SQUID && watch.getRawValue().getClass() == String.class) {
|
||||
continue;
|
||||
}
|
||||
|
||||
DisguiseUtilities.getLogger().severe("MetaIndex not found for " + disguiseType + "! Index: " + watch.getIndex());
|
||||
DisguiseUtilities.getLogger().severe(
|
||||
"Value: " + watch.getRawValue() + " (" + watch.getRawValue().getClass() + ") (" + nmsEntity.getClass() + ") & " +
|
||||
|
Loading…
Reference in New Issue
Block a user