Skip to content

Commit c4fd793

Browse files
committed
remove debugging output
1 parent ac621e9 commit c4fd793

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/com/mcmoddev/orespawn/api/plugin/PluginLoader.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public void load(FMLPreInitializationEvent event) {
6565
integration = Class.forName(clazz).asSubclass(IOreSpawnPlugin.class).newInstance();
6666
PluginData pd = new PluginData( modId, resourceBase, integration);
6767
dataStore.add(pd);
68-
OreSpawn.LOGGER.fatal("Loaded plugin {} (modId: {}, resourcePath: {})", clazz, modId, resourceBase);
6968
} catch (final Exception ex) {
7069
OreSpawn.LOGGER.error("Couldn't load integrations for " + modId, ex);
7170
}
@@ -79,7 +78,6 @@ public void register() {
7978
public void scanResources(PluginData pd) {
8079
String base = String.format("assets/%s/%s", pd.modId, pd.resourcePath);
8180
URL resURL = getClass().getClassLoader().getResource(base);
82-
OreSpawn.LOGGER.fatal("Got {} from getResource({})", resURL.toString(), base);
8381

8482
URI uri;
8583
try {
@@ -105,7 +103,7 @@ public void scanResources(PluginData pd) {
105103
for (Iterator<Path> it = walk.iterator(); it.hasNext();){
106104
Path p = it.next();
107105
String name = p.getFileName().toString();
108-
OreSpawn.LOGGER.fatal("path {} in walk", p.toString());
106+
109107
if( "json".equals(FilenameUtils.getExtension(name)) ) {
110108
InputStream reader = null;
111109
Path target = Paths.get(".","orespawn","os3",String.format("%s.json", pd.modId));
@@ -115,7 +113,7 @@ public void scanResources(PluginData pd) {
115113
walk.close();
116114
return;
117115
}
118-
OreSpawn.LOGGER.fatal("Extracting {} to {}", p.toString(), target.toString());
116+
119117
reader = Files.newInputStream(p);
120118
FileUtils.copyInputStreamToFile(reader, target.toFile());
121119
IOUtils.closeQuietly(reader);

0 commit comments

Comments
 (0)