mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
fix sided proxy bukkit test (not used so not a biggie)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user