Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Small typo
Dieser Commit ist enthalten in:
Ursprung
523c27237d
Commit
a7022bddf8
@ -325,7 +325,7 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaVersionAPI, ViaVe
|
||||
return getConfig().getBoolean("bossbar-anti-flicker", false);
|
||||
}
|
||||
|
||||
public boolean isUnkownEntitiesSuppressed() {
|
||||
public boolean isUnknownEntitiesSuppressed() {
|
||||
return getConfig().getBoolean("suppress-entityid-errors", false);
|
||||
}
|
||||
|
||||
|
@ -12,6 +12,11 @@ public interface ViaVersionConfig {
|
||||
*/
|
||||
boolean isDebug();
|
||||
|
||||
/**
|
||||
* Obtain if collision preventing for players is enabled
|
||||
*
|
||||
* @return true if collision preventing is enabled
|
||||
*/
|
||||
boolean isPreventCollision();
|
||||
|
||||
boolean isNewEffectIndicator();
|
||||
@ -26,7 +31,7 @@ public interface ViaVersionConfig {
|
||||
|
||||
boolean isBossbarAntiflicker();
|
||||
|
||||
boolean isUnkownEntitiesSuppressed();
|
||||
boolean isUnknownEntitiesSuppressed();
|
||||
|
||||
double getHologramYOffset();
|
||||
|
||||
|
@ -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(!ViaVersion.getConfig().isUnkownEntitiesSuppressed()){
|
||||
} else if(!ViaVersion.getConfig().isUnknownEntitiesSuppressed()){
|
||||
System.out.println("Unable to find entity for metadata, entity ID: " + entityID);
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren