Add new ClientSettings API

Add the new API introducted with the ClientSettings packet changes in 1.18
This commit is contained in:
FivePB
2021-11-25 17:04:10 +01:00
parent 7cc40f8fea
commit 7ed4f4c03a
2 changed files with 14 additions and 0 deletions

View File

@@ -74,5 +74,9 @@ public class ClientSettingsWrapper implements PlayerSettings {
return settings.getMainHand() == 1 ? MainHand.RIGHT : MainHand.LEFT;
}
@Override
public boolean isClientListingAllowed() {
return settings.isClientListingAllowed();
}
}