Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 16:12:43 +01:00
Fix typo (#837)
Dieser Commit ist enthalten in:
Ursprung
4536ca41e2
Commit
0ed3efc643
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren