Skip to content

Commit

Permalink
ver1
Browse files Browse the repository at this point in the history
  • Loading branch information
matsu1213 committed Jun 19, 2024
1 parent 9baf644 commit e90e375
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
5 changes: 0 additions & 5 deletions src/main/java/net/azisaba/leoncsaddon/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ public void init(){
exception.printStackTrace();
}

if(config == null){
ErrorCode.C0001.log();
return;
}

}

public void load(){}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;

import java.lang.reflect.Field;

public class CustomProjectileSizeListener implements Listener {

@EventHandler
Expand Down
12 changes: 0 additions & 12 deletions src/main/java/net/azisaba/leoncsaddon/WeaponConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,4 @@ public WeaponConfigData getWeaponConfigData(String name){

}

public List<String> getWeaponTitles(String dataName){
ArrayList<String> list = new ArrayList<>();
weaponsMap.forEach((key, value) -> {
if(key.equals(dataName)){
list.add(key);
}
if(value.getDataName().equals(dataName)){
list.add(key);
}
});
return list;
}
}
2 changes: 2 additions & 0 deletions src/main/java/net/azisaba/leoncsaddon/WeaponConfigData.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package net.azisaba.leoncsaddon;

import java.util.List;

public class WeaponConfigData {

public final String name;
Expand Down

0 comments on commit e90e375

Please sign in to comment.