mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 04:35:03 +00:00
Fix Market Config Command
This commit is contained in:
1 parent
3e48773940
commit
444703b3f2
2 files changed
+4
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user