fix sided proxy bukkit test (not used so not a biggie)
This commit is contained in:
parent
731dbf5175
commit
6f8409a2ce
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue