Over Flow

Okay i got another problem when im using an item that have max status and max damage its run over flow and if i run the debug mode it problem is in this

[attachment=1019:644.png]

anyone know how to fix this?

Basically you have numbers that are too big for the variable types!

if you want to stop this change they Integer type to a Long on the variable you have a value that is too large in it.

Byte MAX: 255

Integer MAX: 32767

Long MAX: 2,147,483,647

Numbers larger than 2.14 bill are not supported

He might need to go to mod types, both client and server side  in the item section and make sure  it says Damage as long

Log in to reply