Change default view distance to 16 and add /viewdistance command
This commit is contained in:
@@ -94,6 +94,8 @@ export class ServerPlayer extends LivingEntity {
|
||||
sent = new Map<string, string>();
|
||||
// the chunks their client has and still needs
|
||||
chunks: PlayerChunks;
|
||||
// the view distance their client asked for, which the server's might cap, undefined when it didn't say
|
||||
requested_view_distance: number | undefined;
|
||||
|
||||
constructor(
|
||||
level: EntityLevel,
|
||||
|
||||
Reference in New Issue
Block a user