We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5ec7ed commit f729c8aCopy full SHA for f729c8a
src/main/java/net/coreprotect/paper/Paper_v1_20.java
@@ -34,7 +34,7 @@ public String getSkullOwner(Skull skull) {
34
if (skull.getPlayerProfile().getId() != null) {
35
owner = skull.getPlayerProfile().getId().toString();
36
}
37
- else if (Config.getGlobal().MYSQL && owner.length() > 255) {
+ else if (Config.getGlobal().MYSQL && owner != null && owner.length() > 255) {
38
return owner.substring(0, 255);
39
40
0 commit comments