mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-01 13:43:30 +01:00
Don't forget to clear
This commit is contained in:
parent
6a700d228d
commit
f474067eb2
@ -126,6 +126,7 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
|
|||||||
map(Type.NBT); // Dimension registry
|
map(Type.NBT); // Dimension registry
|
||||||
handler(wrapper -> {
|
handler(wrapper -> {
|
||||||
final DimensionRegistryStorage dimensionRegistryStorage = wrapper.user().get(DimensionRegistryStorage.class);
|
final DimensionRegistryStorage dimensionRegistryStorage = wrapper.user().get(DimensionRegistryStorage.class);
|
||||||
|
dimensionRegistryStorage.clear();
|
||||||
|
|
||||||
// Cache dimensions and find current dimension
|
// Cache dimensions and find current dimension
|
||||||
final String dimensionKey = wrapper.read(Type.STRING);
|
final String dimensionKey = wrapper.read(Type.STRING);
|
||||||
|
Loading…
Reference in New Issue
Block a user