Skip to content

Commit

Permalink
Update WebsocketPlus.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistium authored Nov 22, 2024
1 parent 9ff6511 commit 961c009
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions featured/WebsocketPlus.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Made by @mistium on discord,
// this extension is for originOS :P
// Thanks for using my extension :D
// version 3

// License: MPL-2.0
// This Source Code is subject to the terms of the Mozilla Public License, v2.0,
Expand All @@ -24,7 +25,7 @@
this.messageQueue = {};
this.connectedServers = {};
this.lastFrom = ""
this.lastDisconnected = ""
this.lastDisconnect = ""
}

getInfo() {
Expand Down Expand Up @@ -195,7 +196,7 @@
isEdgeActivated: false,
},
{
opcode: 'recievedFrom',
opcode: 'receivedFrom',
blockType: Scratch.BlockType.REPORTER,
text: 'received last message from',
},
Expand Down Expand Up @@ -258,7 +259,8 @@
lastDisconnected() {
return this.lastDisconnect;
}
recievedFrom() {

receivedFrom() {
return this.lastFrom;
}

Expand Down

0 comments on commit 961c009

Please sign in to comment.