1
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:
J3fftw 2021-05-28 18:24:28 +02:00 committed by GitHub
parent 3205d83e35
commit ba4767ae05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()));