Fixed disguise player not being constructable

This commit is contained in:
Andrew
2013-11-19 01:30:39 +13:00
parent c54ed4f5dd
commit 513b9bdf8f
3 changed files with 18 additions and 12 deletions

View File

@@ -167,9 +167,6 @@ public class LibsDisguises extends JavaPlugin {
case LEASH_HITCH:
name = "Leash";
break;
case PLAYER:
name = "Human";
break;
default:
break;
}
@@ -197,10 +194,10 @@ public class LibsDisguises extends JavaPlugin {
sound.setDamageSoundVolume((Float) soundStrength);
}
}
} catch (Exception e1) {
System.out.print("[LibsDisguises] Trouble while making values for " + name + ": " + e1.getMessage());
} catch (Exception ex) {
System.out.print("[LibsDisguises] Trouble while making values for " + name + ": " + ex.getMessage());
System.out.print("[LibsDisguises] Please report this to LibsDisguises author");
e1.printStackTrace();
ex.printStackTrace();
}
}
}