MCP doesn't use Java 7 by default
This commit is contained in:
parent
2eec7f95c8
commit
77ae252000
1 changed files with 18 additions and 15 deletions
|
@ -27,21 +27,24 @@ public class MultipartRI implements IPartFactory
|
|||
@Override
|
||||
public TMultiPart createPart(String name, boolean client)
|
||||
{
|
||||
switch (name)
|
||||
if (name == "resonant_induction_wire")
|
||||
{
|
||||
case "resonant_induction_wire":
|
||||
return new PartWire();
|
||||
|
||||
case "resonant_induction_flat_wire":
|
||||
}
|
||||
else if (name == "resonant_induction_flat_wire")
|
||||
{
|
||||
return new PartFlatWire();
|
||||
|
||||
case "resonant_induction_flat_switch_wire":
|
||||
}
|
||||
else if (name == "resonant_induction_flat_switch_wire")
|
||||
{
|
||||
return new PartFlatSwitchWire();
|
||||
|
||||
case "resonant_induction_multimeter":
|
||||
}
|
||||
else if (name == "resonant_induction_multimeter")
|
||||
{
|
||||
return new PartMultimeter();
|
||||
|
||||
case "resonant_induction_transformer":
|
||||
}
|
||||
else if (name == "resonant_induction_transformer")
|
||||
{
|
||||
return new PartTransformer();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue