Separate names with a comma.
Comments in 'Plugin Development' started by Falk, Nov 14, 2013.
If I am getting an ID of a block would I be given something like 15,0 or just 15?
Which method/function do you use?
I think it is better just to use type Block instead of getting the integer.
If that is possible?
I learn block things by pmfdecompiling worldeditor
Could you inbox me a copy of that? I don't have a decompiler
No, $id is a protected variable.
You need to use the function $block->getID() , this will return the $id in an integer (so not 15,0)
That is what I meant
What about damage value?
Hey finally got it I was messing with code LOL
First of all it needs to be a string so between quotes.
Second, don't even think about using it!
I know and I coded it right lol but don't work I wont use it
What is meant in the error log "Block cannot be instantiated"?