Skip to content

Commit

Permalink
Re-licensing
Browse files Browse the repository at this point in the history
  • Loading branch information
samolego committed Jun 16, 2020
1 parent 4953743 commit 53b7330
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/org/samo_lego/fabrictailor/FabricTailor.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static void infoLog(String info) {
LOGGER.info("[FabricTailor] " + info);
}
public static void errorLog(String error) {
LOGGER.info("[FabricTailor] " + error);
LOGGER.error("[FabricTailor] An error occurred: " + error);
}

// Main method for setting player skin
Expand Down Expand Up @@ -113,7 +113,6 @@ private static void reloadSkin(ServerPlayerEntity player) {
other.networkHandler.sendPacket(new PlayerListS2CPacket(PlayerListS2CPacket.Action.ADD_PLAYER, other));

if(player == other) {
System.out.println("Player " + other.getName().getString() + " has changed skin.");
// We found the player whose skin was changed, we need to change his dimension
// in order for him to be able to see new skin
ServerWorld world = player.getServerWorld();
Expand All @@ -124,7 +123,6 @@ private static void reloadSkin(ServerPlayerEntity player) {

while(worlds.hasNext()) {
newWorld = worlds.next();
System.out.println(newWorld);
if(newWorld != world)
break;
}
Expand Down

0 comments on commit 53b7330

Please sign in to comment.