phonon / minecraft-nodes

minecraft spigot plugin nodes map painting simulator
GNU General Public License v3.0
14 stars 15 forks source link

Plugin won't compile /dynmap #4

Open IngamenameWu opened 10 months ago

IngamenameWu commented 10 months ago

Plugin won't allow me to compile the /dynmap folder so i can't get a working world.json rendering nodes not able to function correctly [PS make a place for support this plugin is great and i loved intcraft]

KespSR commented 7 months ago

Delete Cargo.lock, update Cargo.toml to all the dependencies needed the wasm version used is actually 0.2.90, idk exactly why but cargo tree says that is needed instead of 0.2.83, then Cargo clean -> Cargo update for new Cargo.lock, change World.rs because it return a JS primite type in the constructor the exact line is "pub fn new...'' image thats is the code u have to modify to, and idk if i forgot anything else but i manage to make it work that way