fixed bugs, memory leaks, etc
This commit is contained in:
1 parent
aa4f6b6ddc
commit
c3f8f23c1d
124 files changed
+1060
-420
No files matched your search
@@ -19,7 +19,7 @@ public abstract class HeldItemRendererMixin {
|
||||
cancellable = true
|
||||
)
|
||||
private void postSwingArmEventAtHead(float swingProgress, MatrixStack matrixStack, int i, Arm arm, InjectionCallback ci) {
|
||||
if (HookBridge.hasSwingArmListeners(Prestige.eventBus, SwingArmEvent.class)) {
|
||||
if (Prestige.eventBus != null && HookBridge.hasSwingArmListeners(Prestige.eventBus, SwingArmEvent.class)) {
|
||||
SwingArmEvent event = HookBridge.createSwingArmEvent(matrixStack, arm, swingProgress, 1.0F);
|
||||
if (HookBridge.postSwingArmEvent(event)) {
|
||||
matrixStack.scale(2.0F, 2.0F, 2.0F);
|
||||
|
||||
Reference in new issue
Block a user