Merge pull request #2798 from Macweese/image-capture

ImageCapture: udpate
This commit is contained in:
Kyle
2020-09-07 18:40:25 +01:00
committed by GitHub

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";