Can't upload rotatable blocks
Closed this issue · 5 comments
Tunous commented
Using UploadService.UploadRotatable
results in uploading GravityNothing.
Yonom commented
Yes ofc, because you should use UploadService.UploadRotatable
.
Tunous commented
Oh sorry I mistyped it here. I meant that UploadService.UploadRotatable
is not working.
Yonom commented
Could not reproduce. The code below seems to work just fine.
this.UploadService.UploadRotatable(1, 1, RotatableBlock.BlockHazardSpike, (uint)SpikeRotation.Down);
Tunous commented
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 :)
Yonom commented
Note to self: Update wiki to include SpikeRotation.
Update: Done! https://github.com/Yonom/CupCake/wiki/Uploader-Tutorial#example-2