#1066: Add missing server properties methods from 1.19
This commit is contained in:
parent
031eaadd05
commit
36c2681af9
@ -1395,6 +1395,16 @@ public final class CraftServer implements Server {
|
|||||||
saveConfig();
|
saveConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean shouldSendChatPreviews() {
|
||||||
|
return this.getServer().previewsChat();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEnforcingSecureProfiles() {
|
||||||
|
return this.getServer().enforceSecureProfile();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean getHideOnlinePlayers() {
|
public boolean getHideOnlinePlayers() {
|
||||||
return console.hidesOnlinePlayers();
|
return console.hidesOnlinePlayers();
|
||||||
@ -1820,6 +1830,11 @@ public final class CraftServer implements Server {
|
|||||||
return new CraftMerchantCustom(title == null ? InventoryType.MERCHANT.getDefaultTitle() : title);
|
return new CraftMerchantCustom(title == null ? InventoryType.MERCHANT.getDefaultTitle() : title);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getMaxChainedNeighborUpdates() {
|
||||||
|
return this.getServer().getMaxChainedNeighborUpdates();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public HelpMap getHelpMap() {
|
public HelpMap getHelpMap() {
|
||||||
return helpMap;
|
return helpMap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user