Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02:00
Merge pull request #179 from HugoDaBosss/master
Stop error fetching hand item spamming console.
Dieser Commit ist enthalten in:
Commit
3a217503fc
@ -53,8 +53,9 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaVersionAPI {
|
|||||||
}
|
}
|
||||||
}).get(10, TimeUnit.SECONDS);
|
}).get(10, TimeUnit.SECONDS);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.out.println("Error fetching hand item ");
|
System.out.println("Error fetching hand item: " + e.getClass().getName());
|
||||||
e.printStackTrace();
|
if(ViaVersion.getInstance().isDebug())
|
||||||
|
e.printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -215,8 +216,9 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaVersionAPI {
|
|||||||
f.get(10, TimeUnit.SECONDS);
|
f.get(10, TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.out.println("Failed to run task.");
|
System.out.println("Failed to run task: " + e.getClass().getName());
|
||||||
e.printStackTrace();
|
if(ViaVersion.getInstance().isDebug())
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren