This script (attached) is supposed to keep the player's hotbar, armor and offhand. However, it does the opposite and wipes those instead. I've looked over this code many times, and I'm not sure the problem. Thanks for any help!
- Version Output
- This server is running Paper version git-Paper-142 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: a736c1a)