RedstoneFuture / missilewars

MissileWars is a famous, fun and fast minigame spigot-plugin for Minecraft
https://www.spigotmc.org/resources/62947
GNU General Public License v3.0
13 stars 9 forks source link

Player Data does not load from file #70

Closed 100petr closed 1 year ago

100petr commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

We found that the plugin deletes items that were in the inventory before connecting to the game

To Reproduce Steps to reproduce the behavior:

  1. Take some items
  2. Join the game
  3. Leave the game

Expected behavior A clear and concise description of what you expected to happen.

Items in inventory will remain. Alternatively, an empty inventory will be required to join the game.

Screenshots If applicable, add screenshots to help explain your problem.

https://user-images.githubusercontent.com/29830635/230905229-39cef16c-7647-4d58-bfcb-690c846f9580.mp4

Server (please complete the following information):

Additional context Add any other context about the problem here.

I'm sorry I found your plugin and now I'm overwhelming you :D but I promise that when the things I wrote are resolved, we'll happily buy the plugin

RedstoneFuture commented 1 year ago

Dev-Note: A part of this (only for data loading from file): https://github.com/RedstoneFuture/missilewars/blob/2e78c712316fc5e26344f8385d349cdf296cf0c1/missilewars-plugin/src/main/java/de/butzlabben/missilewars/player/PlayerData.java#L67