mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Some final touches
This commit is contained in:
parent
f046ef52f1
commit
e2e4fb2b3c
1 changed files with 2 additions and 1 deletions
|
@ -43,11 +43,12 @@ public class EndGatewayBlockEntityTranslator extends BlockEntityTranslator {
|
|||
// Java sometimes does not provide this tag, but Bedrock crashes if it doesn't exist
|
||||
// Linked coordinates
|
||||
List<IntTag> tagsList = new ArrayList<>();
|
||||
// Yes, the axis letters are capitalized
|
||||
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "X")));
|
||||
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "Y")));
|
||||
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "Z")));
|
||||
com.nukkitx.nbt.tag.ListTag<IntTag> exitPortal =
|
||||
new com.nukkitx.nbt.tag.ListTag<>("ExitPortal", com.nukkitx.nbt.tag.IntTag.class, tagsList);
|
||||
new com.nukkitx.nbt.tag.ListTag<>("ExitPortal", IntTag.class, tagsList);
|
||||
tags.add(exitPortal);
|
||||
return tags;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue