mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-07 17:03:00 +00:00
Implement IPeripheral.getTarget on a few additional TEs
Also make it nullable. Hopefully this will allow us to distinguish between non-default implementations more easily.
This commit is contained in:
@@ -44,4 +44,11 @@ public class CraftingTablePeripheral implements IPeripheral
|
||||
{
|
||||
return other instanceof CraftingTablePeripheral;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public Object getTarget()
|
||||
{
|
||||
return turtle;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user