geforkt von Mirrors/FastAsyncWorldEdit
refactor: Remove redundant loggers
Dieser Commit ist enthalten in:
Ursprung
c07ba4e88e
Commit
d4eda78818
@ -119,7 +119,6 @@ public final class BundledBlockData {
|
|||||||
if (url == null) {
|
if (url == null) {
|
||||||
throw new IOException("Could not find blocks.json");
|
throw new IOException("Could not find blocks.json");
|
||||||
}
|
}
|
||||||
LOGGER.info("Using {} for bundled block data.", url);
|
|
||||||
String data = Resources.toString(url, Charset.defaultCharset());
|
String data = Resources.toString(url, Charset.defaultCharset());
|
||||||
List<BlockEntry> entries = gson.fromJson(data, new TypeToken<List<BlockEntry>>() {
|
List<BlockEntry> entries = gson.fromJson(data, new TypeToken<List<BlockEntry>>() {
|
||||||
}.getType());
|
}.getType());
|
||||||
|
@ -104,7 +104,6 @@ public final class BundledItemData {
|
|||||||
if (url == null) {
|
if (url == null) {
|
||||||
throw new IOException("Could not find items.json");
|
throw new IOException("Could not find items.json");
|
||||||
}
|
}
|
||||||
LOGGER.info("Using {} for bundled item data.", url);
|
|
||||||
String data = Resources.toString(url, Charset.defaultCharset());
|
String data = Resources.toString(url, Charset.defaultCharset());
|
||||||
List<ItemEntry> entries = gson.fromJson(data, new TypeToken<List<ItemEntry>>() {
|
List<ItemEntry> entries = gson.fromJson(data, new TypeToken<List<ItemEntry>>() {
|
||||||
}.getType());
|
}.getType());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren