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

/ by zero error #3500

Closed
SirLeezus opened this issue Feb 26, 2017 · 3 comments
Closed

/ by zero error #3500

SirLeezus opened this issue Feb 26, 2017 · 3 comments
Labels
type: bug Something isn't behaving as expected, from a developer perspective. (Except crashes are always bugs)

Comments

@SirLeezus
Copy link

I know how I made the error, just need to know how to fix it? I reset the config files and world buildcraft data folder. But I still get that error along with crashing when I login.

http://pastebin.com/YKpcaTGb

@afdw
Copy link
Member

afdw commented Feb 26, 2017

Log is not full. Can you please paste full log or say version of BC?

@AEnterprise AEnterprise added the type: bug Something isn't behaving as expected, from a developer perspective. (Except crashes are always bugs) label Feb 26, 2017
@AEnterprise
Copy link
Member

https://github.com/BuildCraft/BuildCraft/blob/7.1.x/common/buildcraft/builders/TileQuarry.java#L658

you are gona have to use mcedit or something similar to remove the quarry you placed to get back in your world.
due to the config accepting 0 as value for the quarry energy options the quarry you placed down has a max capacity of 0 and that is saved to it's nbt and used to recreate the battery on loading (thus with 0 capacity again) so we should probably not allow a value of 0 or lower in the config options

@asiekierka
Copy link
Member

The battery is not used to recreate on loading for the quarry in particular.

asiekierka added a commit that referenced this issue Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't behaving as expected, from a developer perspective. (Except crashes are always bugs)
Projects
None yet
Development

No branches or pull requests

4 participants