3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-27 08:30:10 +01:00
Dieser Commit ist enthalten in:
RK_01 2024-07-27 19:54:16 +02:00 committet von GitHub
Ursprung 4536ca41e2
Commit 0ed3efc643
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -18,8 +18,8 @@
package com.viaversion.viabackwards.api.rewriters; package com.viaversion.viabackwards.api.rewriters;
import com.viaversion.viabackwards.api.BackwardsProtocol; import com.viaversion.viabackwards.api.BackwardsProtocol;
import com.viaversion.viabackwards.api.entities.storage.EntityReplacement;
import com.viaversion.viabackwards.api.entities.storage.EntityObjectData; import com.viaversion.viabackwards.api.entities.storage.EntityObjectData;
import com.viaversion.viabackwards.api.entities.storage.EntityReplacement;
import com.viaversion.viabackwards.api.entities.storage.WrappedEntityData; import com.viaversion.viabackwards.api.entities.storage.WrappedEntityData;
import com.viaversion.viaversion.api.minecraft.ClientWorld; import com.viaversion.viaversion.api.minecraft.ClientWorld;
import com.viaversion.viaversion.api.minecraft.entities.EntityType; import com.viaversion.viaversion.api.minecraft.entities.EntityType;
@ -155,7 +155,7 @@ public abstract class LegacyEntityRewriter<C extends ClientboundPacketType, T ex
return wrapper -> { return wrapper -> {
ObjectType type = objectGetter.apply(wrapper.get(Types.BYTE, 0)); ObjectType type = objectGetter.apply(wrapper.get(Types.BYTE, 0));
if (type == null) { if (type == null) {
protocol.getLogger().warning("Could not find Entity Type" + wrapper.get(Types.BYTE, 0)); protocol.getLogger().warning("Could not find entity type " + wrapper.get(Types.BYTE, 0));
return; return;
} }