mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 20:16:02 +01:00
Small changes for the new Config API
This commit is contained in:
parent
147891f76b
commit
523c27237d
@ -12,23 +12,23 @@ public interface ViaVersionConfig {
|
||||
*/
|
||||
boolean isDebug();
|
||||
|
||||
public boolean isPreventCollision();
|
||||
boolean isPreventCollision();
|
||||
|
||||
public boolean isNewEffectIndicator();
|
||||
boolean isNewEffectIndicator();
|
||||
|
||||
public boolean isSuppressMetadataErrors();
|
||||
boolean isSuppressMetadataErrors();
|
||||
|
||||
public boolean isShieldBlocking();
|
||||
boolean isShieldBlocking();
|
||||
|
||||
public boolean isHologramPatch();
|
||||
boolean isHologramPatch();
|
||||
|
||||
public boolean isBossbarPatch();
|
||||
boolean isBossbarPatch();
|
||||
|
||||
public boolean isBossbarAntiflicker();
|
||||
boolean isBossbarAntiflicker();
|
||||
|
||||
public boolean isUnkownEntitiesSuppressed();
|
||||
boolean isUnkownEntitiesSuppressed();
|
||||
|
||||
public double getHologramYOffset();
|
||||
double getHologramYOffset();
|
||||
|
||||
public boolean isAutoTeam();
|
||||
boolean isAutoTeam();
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ public class EntityPackets {
|
||||
EntityTracker tracker = wrapper.user().get(EntityTracker.class);
|
||||
if (tracker.getClientEntityTypes().containsKey(entityID)) {
|
||||
MetadataRewriter.transform(tracker.getClientEntityTypes().get(entityID), metadataList);
|
||||
} else if(!((ViaVersionPlugin)ViaVersion.getInstance()).getConfig().getBoolean("suppress-entityid-errors")){
|
||||
} else if(!ViaVersion.getConfig().isUnkownEntitiesSuppressed()){
|
||||
System.out.println("Unable to find entity for metadata, entity ID: " + entityID);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user