Skip to content

Commit

Permalink
Fixed NmsProviders (Paper)
Browse files Browse the repository at this point in the history
  • Loading branch information
Straikerinos committed Jul 8, 2024
1 parent f7cb2b1 commit 65f843c
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ public void openGUI(Player player, Object container, String legacy, int size, Co
BukkitLoader.getPacketHandler().send(player, packetOpenWindow(id, legacy, size, title));
nmsPlayer.bR.transferTo((Container) container, (CraftPlayer) player);
nmsPlayer.bR = (Container) container;
nmsPlayer.a((Container) container);
postToMainThread(() -> nmsPlayer.a((Container) container));
((Container) container).checkReachable = false;
}

Expand Down
Binary file modified NmsProvider - 1.20.R1/v1_20_R1.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ public void openGUI(Player player, Object container, String legacy, int size, Co
BukkitLoader.getPacketHandler().send(player, packetOpenWindow(id, legacy, size, title));
nmsPlayer.bS.transferTo((Container) container, (CraftPlayer) player);
nmsPlayer.bS = (Container) container;
nmsPlayer.a((Container) container);
postToMainThread(() -> nmsPlayer.a((Container) container));
((Container) container).checkReachable = false;
}

Expand Down
Binary file modified NmsProvider - 1.20.R2/v1_20_R2.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ public void openGUI(Player player, Object container, String legacy, int size, Co
BukkitLoader.getPacketHandler().send(player, packetOpenWindow(id, legacy, size, title));
nmsPlayer.bS.transferTo((Container) container, (CraftPlayer) player);
nmsPlayer.bS = (Container) container;
nmsPlayer.a((Container) container);
postToMainThread(() -> nmsPlayer.a((Container) container));
((Container) container).checkReachable = false;
}

Expand Down
Binary file modified NmsProvider - 1.20.R3/v1_20_R3.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion version.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
release: 2.6
build: 58
build: 59

0 comments on commit 65f843c

Please sign in to comment.