Yonom/CupCake

Can't upload rotatable blocks

Closed this issue · 5 comments

Using UploadService.UploadRotatable results in uploading GravityNothing.

Yes ofc, because you should use UploadService.UploadRotatable.

Oh sorry I mistyped it here. I meant that UploadService.UploadRotatable is not working.

Could not reproduce. The code below seems to work just fine.

this.UploadService.UploadRotatable(1, 1, RotatableBlock.BlockHazardSpike, (uint)SpikeRotation.Down);

I tested this code and it works correctly. There was an error in my code that I somehow didn't notice. Sorry for invalid issue. Next time I'm going to make sure to test bugs I find with multiple fresh plugins.

At least I found out about SpikeRotation and it's friends :)

Note to self: Update wiki to include SpikeRotation.
Update: Done! https://github.com/Yonom/CupCake/wiki/Uploader-Tutorial#example-2