Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
Fix spawn tracker mapping data check
Dieser Commit ist enthalten in:
Ursprung
f4cc9d4730
Commit
0d147653f3
@ -90,6 +90,10 @@ public abstract class EntityRewriter<C extends ClientboundPacketType, T extends
|
|||||||
|
|
||||||
public PacketHandler getSpawnTrackerWithDataHandler1_19(EntityType fallingBlockType) {
|
public PacketHandler getSpawnTrackerWithDataHandler1_19(EntityType fallingBlockType) {
|
||||||
return wrapper -> {
|
return wrapper -> {
|
||||||
|
if (protocol.getMappingData() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check against the UNMAPPED entity type
|
// Check against the UNMAPPED entity type
|
||||||
EntityType entityType = trackAndMapEntity(wrapper);
|
EntityType entityType = trackAndMapEntity(wrapper);
|
||||||
if (entityType == fallingBlockType) {
|
if (entityType == fallingBlockType) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren