Hotfix for the show in hand feature, closes #20
This commit is contained in:
parent
040a5014a4
commit
15640e5886
3 changed files with 6 additions and 4 deletions
|
@ -302,7 +302,9 @@ public class MapWrapper extends AbstractMapWrapper {
|
|||
|
||||
if (ReflectionUtil.supports(13)) {
|
||||
String nbtObjectName;
|
||||
if (ReflectionUtil.supports(19)) { //1.19
|
||||
if (ReflectionUtil.supports(20)) { //1.20
|
||||
nbtObjectName = "w";
|
||||
} else if (ReflectionUtil.supports(19)) { //1.19
|
||||
nbtObjectName = "v";
|
||||
} else if (ReflectionUtil.supports(18)) { //1.18
|
||||
nbtObjectName = ReflectionUtil.VER_MINOR == 1 ? "t" : "u"; //1.18.1 = t, 1.18(.2) = u
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue