fix: add missing methods top TestOfflinePermissible

This commit is contained in:
dordsor21 2024-01-28 13:32:25 +01:00
parent 763a497cdc
commit 9ffe76dce3
No known key found for this signature in database
GPG Key ID: 6F2096C3F39EF392

View File

@ -245,6 +245,11 @@ public class TestOfflinePermissible implements OfflinePlayer, Permissible {
throw new UnsupportedOperationException("Not supported yet."); throw new UnsupportedOperationException("Not supported yet.");
} }
@Override
public @Nullable Location getRespawnLocation() {
return null;
}
@Override @Override
public void incrementStatistic(@Nonnull Statistic statistic) throws IllegalArgumentException { public void incrementStatistic(@Nonnull Statistic statistic) throws IllegalArgumentException {
@ -365,4 +370,9 @@ public class TestOfflinePermissible implements OfflinePlayer, Permissible {
return null; return null;
} }
@Override
public @Nullable Location getLocation() {
return null;
}
} }