Change curios to always show on inventory
This commit is contained in:
+4
-1
@@ -1,4 +1,4 @@
|
||||
import { ClientMessage, EntityInfo, PlayerInfo, ServerMessage } from "$/common/protocol.ts";
|
||||
import { ClientMessage, EntityInfo, MenuSlotInfo, PlayerInfo, ServerMessage } from "$/common/protocol.ts";
|
||||
import type { ModListing } from "$/common/mod_loader.ts";
|
||||
import type { Join, ServerSocket, Welcome } from "./handshake.ts";
|
||||
|
||||
@@ -11,6 +11,8 @@ export class Connection {
|
||||
server_blocks: string[];
|
||||
spawn: { x: number; y: number; z: number; yaw: number; pitch: number };
|
||||
selected_slot: number;
|
||||
// the slots mods added to menu 0
|
||||
player_menu: MenuSlotInfo[];
|
||||
time: number;
|
||||
// who was already there when we joined, they become entities in the level
|
||||
initial_players: PlayerInfo[];
|
||||
@@ -24,6 +26,7 @@ export class Connection {
|
||||
this.server_blocks = join.blocks;
|
||||
this.spawn = join.spawn;
|
||||
this.selected_slot = join.selected_slot;
|
||||
this.player_menu = join.player_menu;
|
||||
this.time = join.time;
|
||||
this.initial_players = join.players;
|
||||
this.initial_entities = join.entities;
|
||||
|
||||
Reference in New Issue
Block a user