diff options
author | ThatGravyBoat <ThatGravyBoat@users.noreply.github.com> | 2021-07-27 07:09:21 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2021-07-27 07:09:21 +0000 |
commit | 8f14ae49e5cfd329a70895e74ebb22bc7559f32e (patch) | |
tree | a9b6e44d5b404fba4ff1f14462bb592bdbfa16bb /src/main/java/com/thatgravyboat/skyblockhud/commands | |
parent | 7809a1362c9644c9bfb69d8563a13e3f1ed3354a (diff) | |
download | SkyblockHud-Death-Defied-8f14ae49e5cfd329a70895e74ebb22bc7559f32e.tar.gz SkyblockHud-Death-Defied-8f14ae49e5cfd329a70895e74ebb22bc7559f32e.tar.bz2 SkyblockHud-Death-Defied-8f14ae49e5cfd329a70895e74ebb22bc7559f32e.zip |
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/commands')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/commands/Commands.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/commands/Commands.java b/src/main/java/com/thatgravyboat/skyblockhud/commands/Commands.java index 90333b5..e8ac1d3 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/commands/Commands.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/commands/Commands.java @@ -54,9 +54,9 @@ public class Commands { break; case "copySkin": Entity entity = Minecraft.getMinecraft().objectMouseOver.entityHit; - if (entity instanceof AbstractClientPlayer){ - clipboard = new StringSelection("http://textures.minecraft.net/texture/"+((AbstractClientPlayer) entity).getLocationSkin().getResourcePath().replace("skins/", "")); - }else { + if (entity instanceof AbstractClientPlayer) { + clipboard = new StringSelection("http://textures.minecraft.net/texture/" + ((AbstractClientPlayer) entity).getLocationSkin().getResourcePath().replace("skins/", "")); + } else { sendSBHMessage(sender, "Not a player!"); } break; |