mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-02-21 13:22:37 +01:00
fix this parser stuff
This commit is contained in:
parent
764d0fbcbc
commit
d12521a463
@ -35,6 +35,7 @@ public class HEntityUpdate {
|
|||||||
switch(actionValues[0]) {
|
switch(actionValues[0]) {
|
||||||
case "flatctrl":
|
case "flatctrl":
|
||||||
isController = true;
|
isController = true;
|
||||||
|
this.action = HAction.None;
|
||||||
break;
|
break;
|
||||||
case "mv":
|
case "mv":
|
||||||
String[] values = actionValues[1].split(",");
|
String[] values = actionValues[1].split(",");
|
||||||
|
@ -46,8 +46,7 @@ public class HFloorItem implements IFurni {
|
|||||||
|
|
||||||
private void setStuffData(HPacket packet)
|
private void setStuffData(HPacket packet)
|
||||||
{
|
{
|
||||||
int kind = packet.readInteger();
|
switch(category & 255)
|
||||||
switch(kind)
|
|
||||||
{
|
{
|
||||||
case 0: // RegularFurni
|
case 0: // RegularFurni
|
||||||
packet.readString();
|
packet.readString();
|
||||||
@ -103,6 +102,11 @@ public class HFloorItem implements IFurni {
|
|||||||
packet.readInteger();
|
packet.readInteger();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if ((category & 0xFF00 & 0x100) > 0)
|
||||||
|
{
|
||||||
|
packet.readInteger();
|
||||||
|
packet.readInteger();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static HFloorItem[] parse(HPacket packet) {
|
public static HFloorItem[] parse(HPacket packet) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user