Pterodactyl4J icon indicating copy to clipboard operation
Pterodactyl4J copied to clipboard

Missing argument in route compile when you try to use `EditAllocation#execute` method.

Open luiz-otavio opened this issue 1 year ago • 1 comments

I know it's not available under the API and I tested to force if I could use that function to change a primary allocation of my server, but that didn't work and it sent a stack trace about the exception:

Error Compiling Route: [application/nodes/{node_id}/allocations/{allocation_id}], incorrect amount of parameters provided. Expected: 2, Provided: 1

luiz-otavio avatar May 23 '23 05:05 luiz-otavio

It seems that editing allocations is not even available in pterodactyl api, but you can always change primary allocation using using ClientAllocationManager#setPrimary

Goksi avatar May 23 '23 11:05 Goksi