Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +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);
|
return getConfig().getBoolean("bossbar-anti-flicker", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isUnkownEntitiesSuppressed() {
|
public boolean isUnknownEntitiesSuppressed() {
|
||||||
return getConfig().getBoolean("suppress-entityid-errors", false);
|
return getConfig().getBoolean("suppress-entityid-errors", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,11 @@ public interface ViaVersionConfig {
|
|||||||
*/
|
*/
|
||||||
boolean isDebug();
|
boolean isDebug();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Obtain if collision preventing for players is enabled
|
||||||
|
*
|
||||||
|
* @return true if collision preventing is enabled
|
||||||
|
*/
|
||||||
boolean isPreventCollision();
|
boolean isPreventCollision();
|
||||||
|
|
||||||
boolean isNewEffectIndicator();
|
boolean isNewEffectIndicator();
|
||||||
@ -26,7 +31,7 @@ public interface ViaVersionConfig {
|
|||||||
|
|
||||||
boolean isBossbarAntiflicker();
|
boolean isBossbarAntiflicker();
|
||||||
|
|
||||||
boolean isUnkownEntitiesSuppressed();
|
boolean isUnknownEntitiesSuppressed();
|
||||||
|
|
||||||
double getHologramYOffset();
|
double getHologramYOffset();
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ public class EntityPackets {
|
|||||||
EntityTracker tracker = wrapper.user().get(EntityTracker.class);
|
EntityTracker tracker = wrapper.user().get(EntityTracker.class);
|
||||||
if (tracker.getClientEntityTypes().containsKey(entityID)) {
|
if (tracker.getClientEntityTypes().containsKey(entityID)) {
|
||||||
MetadataRewriter.transform(tracker.getClientEntityTypes().get(entityID), metadataList);
|
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);
|
System.out.println("Unable to find entity for metadata, entity ID: " + entityID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren