Change sout to logger

This commit is contained in:
Matsv 2017-06-14 15:41:36 +02:00
parent a23204a86c
commit 36be58f775
No known key found for this signature in database
GPG Key ID: 97CEC2A2EA31350F

View File

@ -14,6 +14,7 @@ import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import lombok.ToString; import lombok.ToString;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import nl.matsv.viabackwards.ViaBackwards;
import us.myles.ViaVersion.api.PacketWrapper; import us.myles.ViaVersion.api.PacketWrapper;
import us.myles.ViaVersion.api.data.StoredObject; import us.myles.ViaVersion.api.data.StoredObject;
import us.myles.ViaVersion.api.data.UserConnection; import us.myles.ViaVersion.api.data.UserConnection;
@ -42,7 +43,7 @@ public class ShoulderTracker extends StoredObject {
try { try {
wrapper.send(Protocol1_12To1_11_1.class); wrapper.send(Protocol1_12To1_11_1.class);
} catch (Exception e) { } catch (Exception e) {
System.out.println("Failed to send the shoulder indication"); ViaBackwards.getPlatform().getLogger().severe("Failed to send the shoulder indication");
e.printStackTrace(); e.printStackTrace();
} }
} }