Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
samolego committed Jun 24, 2020
2 parents b5d12a8 + 15491a6 commit 1496c3a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] Example bug"
labels: bug
assignees: samolego

---

**Describe the bug**
A clear description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to x y z
2. Catch Lil Tater
3. Make him a sandwich
4. Errors

**Logs**
If you have any errors, please paste them as well. If possible, please use pasting site.

**Are you using any other mods?

**Additional context**
Add any other context about the problem here.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
![Singleplayer](https://img.shields.io/badge/Working-singleplayer-darkblue)


A server-side or singleplayer skin changing mod.
A server-side or singleplayer skin changing / restoring mod.
Download it on [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabrictailor)
or get the [unstable build](https://samolego.github.io/projects/ci?project=FabricTailor&build=latest)

## Setup

Expand Down
6 changes: 1 addition & 5 deletions src/main/java/org/samo_lego/fabrictailor/FabricTailor.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public class FabricTailor implements ModInitializer {

@Override
public void onInitialize() {
// Info that mod is loading
infoLog("Starting FabricTailor mod by samo_lego.");

// Registering /skin command
CommandRegistrationCallback.EVENT.register(SetskinCommand::register);

Expand Down Expand Up @@ -64,7 +61,7 @@ public static void errorLog(String error) {
* @param player player whose skin needs to be changed
* @param value skin texture value
* @param signature skin texture signature
* @return true if
* @return true if it was successful, otherwise false
*/
public static boolean setPlayerSkin(ServerPlayerEntity player, String value, String signature) {
boolean result;
Expand Down Expand Up @@ -103,7 +100,6 @@ public static boolean setPlayerSkin(ServerPlayerEntity player, String value, Str

/**
* Reloads player's skin for all the players (including the one that has changed the skin)
* If
* @param player player that wants to have the skin reloaded
*/
private static void reloadSkin(ServerPlayerEntity player) {
Expand Down

0 comments on commit 1496c3a

Please sign in to comment.