josemmo / yamipa

Yet Another Minecraft Image Placing Addon
https://www.spigotmc.org/resources/88709/
MIT License
73 stars 19 forks source link

Error when starting server with images in renamed world #139

Closed Hasenzahn1 closed 1 month ago

Hasenzahn1 commented 1 month ago

Description

When deleting/renaming a world in which images are placed, the plugin throws an error for every image in the renamed/deleted world. (See the error provided below). This is followed with no image being displayed in the renamed world.

Steps to reproduce the error

How to solve the problem

Error log

https://pastebin.com/HL3TGsXj

josemmo commented 1 month ago

Hello @Hasenzahn1,

Yamipa has no way of knowing you renamed the world directory. Fortunately, this has an easy fix: just replace all occurrences of your world name in "plugins/YamipaPlugin/images.dat".