From 0e0920a058b143e52c8fdbdf709888be5aff016f Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 1 Jun 2023 07:36:06 +1000 Subject: [PATCH] #863: Fix boolean PersistentDataType By: Jishuna --- .../main/java/org/bukkit/persistence/PersistentDataType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/persistence/PersistentDataType.java b/paper-api/src/main/java/org/bukkit/persistence/PersistentDataType.java index bd8589e8f5..b27f4568c2 100644 --- a/paper-api/src/main/java/org/bukkit/persistence/PersistentDataType.java +++ b/paper-api/src/main/java/org/bukkit/persistence/PersistentDataType.java @@ -176,13 +176,13 @@ public interface PersistentDataType { @NotNull @Override public Class getPrimitiveType() { - return byte.class; + return Byte.class; } @NotNull @Override public Class getComplexType() { - return boolean.class; + return Boolean.class; } @NotNull