jasonw4331/MyPlot

Plots owners removed Dev748

MrBlasyMSK opened this issue · 7 comments

Issue description

The database does not load the names of the players in the plots and all the plots appear to be purchased

  • Expected result: What were you expecting to happen? That the plots that are already purchased could not be bought and the name of the owner would appear on the plot
  • Actual result: What actually happened? What i said above

Steps to reproduce the issue

  1. Use dev 748
  2. See the bug

OS and versions

  • Plugin Version: dev748
  • PocketMine-MP: 3.22.1
  • PHP: 7.4
  • Game version: Win10

Other Plugins

  • If you remove all other plugins, does the issue still occur? Yes/No (delete as appropriate) I can't test it because I don't have another server
  • If the issue is not reproducible without other plugins:
    • Have you asked for help in the community discord before creating an issue?
    • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section.

Console error, backtrace or other files

No error

Please post a copy of your plot db file for reference.

I explain:

The latest version is bug, when I go to plots the name of the players does not appear and it appears to buy the plots

But if you put the old version 731 if it works correctly

Please post a copy of your plot db file for reference.

It looks like the conversion from the v1 to the v2 table isn't working correctly 🤔
image

The query works as intended though so it must be a logic error detecting if the v1 table exists
image

I just hope you don't tell me that I have to delete the database :)