Fix Market Config Command

This commit is contained in:
Kam committed 2024-02-20 02:08:46 -05:00
1 parent 3e48773940
commit 444703b3f2
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -74,7 +74,7 @@ public class Market {
}
}
public File getNewMarketDir(){
public static File getNewMarketDir(){
try{
File file = new File(CustomNpcs.getWorldSaveDirectory(),"markets_new");
if(file.exists()){
@@ -110,7 +110,7 @@ public class Market {
}
public void convertMarketFiles(final EntityPlayerMP sender, final boolean type){
public static void convertMarketFiles(final EntityPlayerMP sender, final boolean type){
ExecutorService executor = Executors.newSingleThreadExecutor();
executor.execute(() -> {
String fileType;