We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da22a77 commit 1aca16aCopy full SHA for 1aca16a
src/main/java/moe/nightfall/vic/integratedcircuits/gate/peripheral/GatePeripheral.java
@@ -17,7 +17,11 @@
17
18
@Optional.Interface(iface = "dan200.computercraft.api.peripheral.IPeripheral", modid = "ComputerCraft")
19
public abstract class GatePeripheral implements IPeripheral {
20
-
+
21
+ // Everything from IPeripheral has to be implemented, to make sure things don't get stripped by forge.
22
+ @Override
23
+ public abstract String getType();
24
25
private final Map<String, Method> methods = Maps.newLinkedHashMap();
26
private final String[] methodNames;
27
@@ -29,7 +33,7 @@ public GatePeripheral() {
29
33
}
30
34
methodNames = methods.keySet().toArray(new String[methods.size()]);
31
35
32
36
37
@Override
38
public final String[] getMethodNames() {
39
return methodNames;
0 commit comments