Update ImageCapture.java

This commit is contained in:
Macweese
2020-09-07 18:47:25 +02:00
parent 03f73e32ab
commit f3a4ef3518

View File

@@ -105,6 +105,10 @@ public class ImageCapture
final EnumSet<WorldType> worldTypes = client.getWorldType();
String playerDir = client.getLocalPlayer().getName();
if (playerDir.startsWith("#"))
{
playerDir = "Username not set";
}
if (worldTypes.contains(WorldType.DEADMAN))
{
playerDir += "-Deadman";