mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-24 23:51:24 +01:00
Fix falling block id rewrite
This commit is contained in:
parent
a0a229fa29
commit
074edf1b48
@ -82,7 +82,7 @@ public abstract class MetadataRewriter {
|
||||
int entityId = wrapper.get(Type.VAR_INT, 0);
|
||||
EntityType entityType = wrapper.user().get(entityTrackerClass).getEntity(entityId);
|
||||
if (entityType == fallingBlockType) {
|
||||
wrapper.set(Type.INT, 0, protocol.getMappingData().getNewItemId(wrapper.get(Type.INT, 0)));
|
||||
wrapper.set(Type.INT, 0, protocol.getMappingData().getNewBlockStateId(wrapper.get(Type.INT, 0)));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user