Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several crashes happen since upgrading from 2.2.3 to 2.2.6 related to PortingLib #122

Closed
1 of 2 tasks
MindStudioOfficial opened this issue Dec 4, 2024 · 2 comments
Closed
1 of 2 tasks

Comments

@MindStudioOfficial
Copy link

MindStudioOfficial commented Dec 4, 2024

Minecraft version

1.21.1

Farmer's Delight version

2.2.6

Fabric Loader version

0.16.9

Fabric API version

0.110.0+1.21.1

Description

Game Crashes when Right-Clicking with axe:

Also reported here Fabricators-of-Create/Porting-Lib#152

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1838.method_8045()" because "context" is null
	at knot//io.github.fabricators_of_create.porting_lib.tool.events.BlockToolModificationEvent.<init>(BlockToolModificationEvent.java:38)
	at knot//io.github.fabricators_of_create.porting_lib.util.PortingHooks.onToolUse(PortingHooks.java:73)
	at knot//net.minecraft.class_1743.wrapOperation$zzi000$porting_lib_base$onStripToolAction(class_1743.java:1035)

Full Crash report https://pastebin.com/6MtXsiTE

Error didn't occur in 2.2.3 and happens after upgrading to 2.2.6 possibly related to the changes in portinglib dependancy

Update:
also checked 2.2.4 - no crash
also checked 2.2.5 - crashes

Farmers Delight is the only mod that uses PortingLib in our modlist (according to the dependancy tree)

Steps to reproduce

  1. get any axe
  2. right click any block

Mod list

Contained within the crash report

https://pastebin.com/6MtXsiTE

Logs

https://pastebin.com/6MtXsiTE

Minimal instance

  • I have tested this on a minimal instance

Performance and shader mods

  • I am using performance or shader mods
@MerchantPug
Copy link
Collaborator

Mhm. This was one of the fixes we implemented back when we explicitly used our own builds. Ill fix soon.

@MerchantPug MerchantPug mentioned this issue Dec 6, 2024
2 tasks
@MerchantPug
Copy link
Collaborator

Fixed in 2.2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants