@CollidedMoon I suggest you read this, so that your code will be a little more understandable. Also: what line is line 7? It's kind of hard to tell.
also: commands can't contain spaces (fj leave for instance). You have to use arguments instead.
You can use this: World#setThundering(boolean thunder); //for thunder World#setStorm(boolean storm); //for rain
awh sheit, nevermind. Location#toString should work
@Wazup93 still no error thouh....
@Wazup93 you should post the full stack trace (in a code block, of course)
@AdamQpzm yes, but it already did when I you said that I created a reference to an object, not a new object :) (Like your explanation though)
@AdamQpzm oh, didn't know that.... (I thought it wouldn't aswell change the other object :s) dammit.. Thanks for helping me (I'll get it to work...
@AdamQpzm but I did.... (see line 31, I create my own ItemStack[] containing the inventory contents, and then rearrange them in the for loop...
@AdamQpzm huh (added some infos to the OP, forgot some things :s)
Separate names with a comma.