Update ImageCapture.java
This commit is contained in:
@@ -105,6 +105,10 @@ public class ImageCapture
|
|||||||
final EnumSet<WorldType> worldTypes = client.getWorldType();
|
final EnumSet<WorldType> worldTypes = client.getWorldType();
|
||||||
|
|
||||||
String playerDir = client.getLocalPlayer().getName();
|
String playerDir = client.getLocalPlayer().getName();
|
||||||
|
if (playerDir.startsWith("#"))
|
||||||
|
{
|
||||||
|
playerDir = "Username not set";
|
||||||
|
}
|
||||||
if (worldTypes.contains(WorldType.DEADMAN))
|
if (worldTypes.contains(WorldType.DEADMAN))
|
||||||
{
|
{
|
||||||
playerDir += "-Deadman";
|
playerDir += "-Deadman";
|
||||||
|
|||||||
Reference in New Issue
Block a user