mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 01:37:35 +01:00
#1066: Add missing server properties methods from 1.19
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
8abaca5d3d
commit
63d419d302
@ -1395,6 +1395,16 @@ public final class CraftServer implements Server {
|
||||
saveConfig();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldSendChatPreviews() {
|
||||
return this.getServer().previewsChat();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEnforcingSecureProfiles() {
|
||||
return this.getServer().enforceSecureProfile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getHideOnlinePlayers() {
|
||||
return console.hidesOnlinePlayers();
|
||||
@ -1820,6 +1830,11 @@ public final class CraftServer implements Server {
|
||||
return new CraftMerchantCustom(title == null ? InventoryType.MERCHANT.getDefaultTitle() : title);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxChainedNeighborUpdates() {
|
||||
return this.getServer().getMaxChainedNeighborUpdates();
|
||||
}
|
||||
|
||||
@Override
|
||||
public HelpMap getHelpMap() {
|
||||
return helpMap;
|
||||
|
Loading…
Reference in New Issue
Block a user