When checking with isEmpty size will always return 0.
This commit is contained in:
@@ -122,7 +122,7 @@ public class MacroList
|
||||
final Collection<Macro> allMacros = getAllMacroses();
|
||||
if (allMacros.isEmpty())
|
||||
{
|
||||
_owner.sendPacket(new SendMacroList(_revision, allMacros.size(), null));
|
||||
_owner.sendPacket(new SendMacroList(_revision, 0, null));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -122,7 +122,7 @@ public class MacroList
|
||||
final Collection<Macro> allMacros = getAllMacroses();
|
||||
if (allMacros.isEmpty())
|
||||
{
|
||||
_owner.sendPacket(new SendMacroList(_revision, allMacros.size(), null));
|
||||
_owner.sendPacket(new SendMacroList(_revision, 0, null));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user