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:
@@ -81,10 +81,10 @@ public interface IPeripheral
|
||||
*
|
||||
* @return The object this peripheral targets
|
||||
*/
|
||||
@Nonnull
|
||||
@Nullable
|
||||
default Object getTarget()
|
||||
{
|
||||
return this;
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user