mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-02-02 23:31:53 +01:00
Don't clone WrappedBlockState when we just want to know what the data says
This commit is contained in:
parent
5fa4e0ae48
commit
da4da54d3a
@ -89,7 +89,8 @@ public class ParamInfoWrappedBlockData extends ParamInfo {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
WrappedBlockState state = type.createBlockState();
|
WrappedBlockState state =
|
||||||
|
WrappedBlockState.getDefaultState(PacketEvents.getAPI().getServerManager().getVersion().toClientVersion(), type, false);
|
||||||
|
|
||||||
LinkedHashMap<StateValue, Object> map = new LinkedHashMap<>();
|
LinkedHashMap<StateValue, Object> map = new LinkedHashMap<>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user