Comments should follow a space.

This commit is contained in:
MobiusDevelopment
2022-07-15 11:02:22 +00:00
parent 48889ed549
commit 939e56683e
22 changed files with 95 additions and 95 deletions

View File

@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
// if enchant value is 0 - show "blank instead of 0
if (currentEnch != 0)
{
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
}
else
{
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
}
}
}
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
// if enchant value is 0 - show "blank instead of 0
if (currentEnch != 0)
{
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
}
else
{
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
}
}
}

View File

@@ -37,7 +37,7 @@ public class ExCollectionList implements IClientOutgoingPacket
{
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
packet.writeC(_category);
packet.writeD(0);// size & loop body
packet.writeD(0); // size & loop body
return true;
}
}

View File

@@ -29,7 +29,7 @@ public class ExCollectionOpenUI implements IClientOutgoingPacket
public boolean write(PacketWriter packet)
{
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
packet.writeC(0);// unk and may be unk D too
packet.writeC(0); // unk and may be unk D too
return true;
}
}