Blockland Forums > Modification Help
On Brick Hit If Projectile
<< < (4/7) > >>
otto-san:

--- Quote from: computermix on November 28, 2011, 12:57:08 PM ---Maybe a white space got behind the "return;" part. Delete everything behind it and press tab until it looks right. If that doesn't work, comment the "if(%col.getClassName() !$= "fxdtsbrick")" thing out and see if its actually causing the problem or not.

--- End quote ---
Tabbing doesn't really ever matter for anything but readability.
computermix:

--- Quote from: otto-san on November 28, 2011, 05:35:34 PM ---Tabbing doesn't really ever matter for anything but readability.

--- End quote ---
I understand your logic there...
but doesn't

--- Code: ---         if(!%client.isAdmin)
                   return;

--- End code ---
having a difference between

--- Code: ---         if(!%client.isAdmin)
return;

--- End code ---
break it? (I actually never knew if it matters on the next line or the tab)
otto-san:
not really, it just doesn't look as good
computermix:

--- Quote from: otto-san on November 28, 2011, 06:00:53 PM ---not really, it just doesn't look as good

--- End quote ---
Oh.

Well it looks like somebody learned something today.
otto-san:

--- Quote from: computermix on November 28, 2011, 06:02:56 PM ---Oh.

Well it looks like somebody learned something today.

--- End quote ---
Either way, it looks a lot better and is a lot easier to read when you don't do that. To most people, I mean.
Navigation
Message Index
Next page
Previous page

Go to full version