Fixes #0000061 Houses can't be deleted

This commit is contained in:
CharonInferar
2014-07-07 21:31:06 +02:00
parent 997033851a
commit 09f6266cc7
7 changed files with 74 additions and 13 deletions
+1
View File
@@ -342,6 +342,7 @@ public class SWGList<E> implements List<E>, Serializable {
updateCounter += list.size();
//StringUtilities.printBytes(newListData);
//tools.CharonPacketUtils.printAnalysis(buffer,"SWGList set");
queue(newListData);
return true;
@@ -113,6 +113,7 @@ public class CreatureMessageBuilder extends TangibleMessageBuilder {
buffer.putInt(creature.getFactionStatus());
byte[] customizationData = creature.getCustomization();
//byte[] customizationData = new byte[]{(byte)0x03,(byte)0xBF,(byte)0xC3,(byte)0x33,(byte)0x02,(byte)0x01,(byte)0x02};
if(customizationData == null || customizationData.length <= 0) // Shuttles have no customization data
buffer.putShort((short) 0);
@@ -148,6 +149,9 @@ public class CreatureMessageBuilder extends TangibleMessageBuilder {
buffer.flip();
buffer = createBaseline("CREO", (byte) 3, buffer, size);
tools.CharonPacketUtils.printAnalysis(buffer, "CREO 3");
return buffer;
}