mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-19 16:28:13 +01:00
Fix typo (#837)
This commit is contained in:
parent
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user