Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Made PowerManager optional for traits who do not require it. #15365
PowerManager is required when using power in a mod. If there should be no power at all, removing this trait will cause a crash due to hardcoded usages. This PR fixes the crash by making PowerManager optional for all traits, who do not need PowerManager to work.