• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Complete Testing for blocks like sand before temp blocks are made to stop sand problems

Status
Not open for further replies.

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
Now, I don't know much about what is going on in the dev build so I'm not sure if this still applies. However, this came as a possible solution to sand and other falling blocks not being reverted properly when bending. For example, after messing around with just one other person, the landscape quickly turned to this:



Although you can't see a lot of it, there are lots of holes and other places where the sand has tried to be replaced but fails, so it drops as an item.

So, I was wondering if it was possible to hardcode in tempblocks to check for blocks like sand or gravel above the block being temporarily modified, then set them to another temp block like sandstone or stone. Now I know a lot of moves already do this, which is great. But sometimes other moves, particularly ones made by other people (not trying to offend anyone here), don't follow this and therefore make a mess. I'm just wondering if harcoding it into the temporary block function would fix a lot of this.

I don't know if this would actually work or not since there may be other problems, but it's just a suggestion.

Thanks :)
 

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
There is a method (EarthMethods.moveEarth or something) which turns sand into sandstone. I do agree that gravel should turn into stone though.
 
Status
Not open for further replies.
Top