fix sided proxy bukkit test (not used so not a biggie)

This commit is contained in:
Christian committed 2012-07-02 12:32:41 -04:00
1 parent aa1a5d3c19
commit 5415bf87ce
1 file changed
+4 -4
@@ -34,24 +34,24 @@ public class ProxyInjector
this.bukkitName = bukkitName;
this.target = target;
}
public boolean isValidFor(Side type)
{
if (type == Side.CLIENT)
{
return !this.clientName.isEmpty();
}
}
else if (type == Side.SERVER)
{
return !this.serverName.isEmpty();
}
else if (type == Side.BUKKIT)
{
return this.bukkitName.isEmpty();
return !this.bukkitName.isEmpty();
}
return false;
}
public void inject(ModContainer mod, Side side)
{
String targetType = side == Side.CLIENT ? clientName : serverName;