mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Update ErrorReport.java
This commit is contained in:
parent
3205d83e35
commit
ba4767ae05
@ -86,7 +86,6 @@ public class ErrorReport<T extends Throwable> {
|
|||||||
@ParametersAreNonnullByDefault
|
@ParametersAreNonnullByDefault
|
||||||
public ErrorReport(T throwable, Location l, SlimefunItem item) {
|
public ErrorReport(T throwable, Location l, SlimefunItem item) {
|
||||||
this(throwable, item.getAddon(), stream -> {
|
this(throwable, item.getAddon(), stream -> {
|
||||||
Date date = new Date();
|
|
||||||
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
stream.println("Error Generated: " + formatter.format(new Date()));
|
stream.println("Error Generated: " + formatter.format(new Date()));
|
||||||
|
Loading…
Reference in New Issue
Block a user