mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-25 17:22:02 -07:00
View Distance
This commit allows the user to select per world view distances. By: md_5 <git@md-5.net>
This commit is contained in:
@@ -125,8 +125,8 @@
|
||||
- int j = server.getPlayerList().getViewDistance();
|
||||
- int k = server.getPlayerList().getSimulationDistance();
|
||||
+ StructureTemplateManager structuretemplatemanager = minecraftserver.getStructureManager();
|
||||
+ int j = minecraftserver.getPlayerList().getViewDistance();
|
||||
+ int k = minecraftserver.getPlayerList().getSimulationDistance();
|
||||
+ int j = this.spigotConfig.viewDistance; // Spigot
|
||||
+ int k = this.spigotConfig.simulationDistance; // Spigot
|
||||
PersistentEntitySectionManager persistententitysectionmanager = this.entityManager;
|
||||
|
||||
Objects.requireNonNull(this.entityManager);
|
||||
|
Reference in New Issue
Block a user