1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-22 08:04:49 +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

@@ -81,10 +81,10 @@ public interface IPeripheral
*
* @return The object this peripheral targets
*/
@Nonnull
@Nullable
default Object getTarget()
{
return this;
return null;
}
/**