MCHPR / MCHPRS

A multithreaded Minecraft server built for redstone.
MIT License
1.56k stars 67 forks source link

Plot crashing command #72

Closed Olek47 closed 1 month ago

Olek47 commented 2 years ago

I discovered that /p v [anything here] 0 command can crash plot due to subtraction overflow. Its very easy to fix by e.g. making plot id start with 0 or by adding a simple check.