mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-07-28 14:08:55 +00:00
A couple of enhancements to websockets
- Provide whether a message was binary or text in websocket_message and handle.receive(). (Fixes #96) - Provide an optional reason and status code within the websocket_close event. Off topic, but also cleanup the file handles a little.
This commit is contained in:
@@ -888,6 +888,18 @@ public class ComputerCraft
|
||||
return TurtleUpgrades.get( stack );
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static IPocketUpgrade getPocketUpgrade( String id )
|
||||
{
|
||||
return dan200.computercraft.shared.PocketUpgrades.get( id );
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static ITurtleUpgrade getTurtleUpgrade( String id )
|
||||
{
|
||||
return TurtleUpgrades.get( id );
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static IPeripheral getPeripheralAt( World world, BlockPos pos, EnumFacing side )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user