Single module modding
This commit is contained in:
@@ -587,7 +587,7 @@ export class GameServer {
|
||||
this.#send(player, overlay ? { type: "chat", text, overlay } : { type: "chat", text });
|
||||
}
|
||||
|
||||
// a mod's server script to its client script, see ctx.net
|
||||
// a mod's server phase to its client phase, see ctx.net
|
||||
send_mod_message(player: ServerPlayer, channel: string, data: unknown) {
|
||||
this.#send(player, { type: "mod", channel, data });
|
||||
}
|
||||
@@ -1372,7 +1372,7 @@ export class GameServer {
|
||||
return;
|
||||
}
|
||||
|
||||
// the shared rules first, the ones the client guessed, then the server script's. sneaking with an item skips the
|
||||
// the shared rules first, the ones the client guessed, then the server phase's. sneaking with an item skips the
|
||||
// block, like minecraft's secondary use, so a block can be placed against a chest
|
||||
const sneaking = player.sneaking;
|
||||
let handled = false;
|
||||
|
||||
Reference in New Issue
Block a user