Fix swim speed being incorrect. Closes #6845

Fix BreakSpeedEvent having null position. Closes #6844
Add MatrixStack to BackgroundDrawnEvent. Closes #6843
Fix some patches that should of been ATs. Closes #6839
Add getter to ServerPlayer to access client's language calue if sent. Closes #6829
Some patch cleanup.
This commit is contained in:
LexManos committed 2020-06-26 16:55:04 -07:00
commit af9bb9641b
19 files changed
+122 -173

No files matched your search

@@ -205,9 +205,20 @@ public class GuiScreenEvent extends Event
*/
public static class BackgroundDrawnEvent extends GuiScreenEvent
{
public BackgroundDrawnEvent(Screen gui)
private final MatrixStack mStack;
public BackgroundDrawnEvent(Screen gui, MatrixStack mStack)
{
super(gui);
this.mStack = mStack;
}
/**
* The MatrixStack to render with.
*/
public MatrixStack getMatrixStack()
{
return mStack;
}
}