1
0
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:
SquidDev
2020-05-15 17:34:00 +01:00
parent 5409d441b5
commit 4f8217d1ab
7 changed files with 45 additions and 2 deletions

View File

@@ -44,4 +44,11 @@ public class CraftingTablePeripheral implements IPeripheral
{
return other instanceof CraftingTablePeripheral;
}
@Nonnull
@Override
public Object getTarget()
{
return turtle;
}
}