mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Updated to allow multiple protocol versions
This commit is contained in:
parent
8b1c010b4d
commit
7732d6b6f7
9 changed files with 124 additions and 49 deletions
|
|
@ -33,6 +33,7 @@ class MinecraftInterface{
|
|||
$this->protocol = (int) $protocol;
|
||||
require("pstruct/RakNet.php");
|
||||
require("pstruct/packetName.php");
|
||||
require("pstruct/".$this->protocol.".php");
|
||||
require("pstruct/dataName.php");
|
||||
$this->pstruct = $pstruct;
|
||||
$this->name = $packetName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue