mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Update src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/energy/EnergyNet.java
Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
This commit is contained in:
parent
e7372064d5
commit
29757f1379
@ -60,24 +60,20 @@ public class EnergyNet extends Network implements HologramOwner {
|
||||
return RANGE;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
public Map<Location, EnergyNetProvider> getGenerators() {
|
||||
public @Nonnull Map<Location, EnergyNetProvider> getGenerators() {
|
||||
return Collections.unmodifiableMap(generators);
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
public Map<Location, EnergyNetComponent> getCapacitors() {
|
||||
public @Nonnull Map<Location, EnergyNetComponent> getCapacitors() {
|
||||
return Collections.unmodifiableMap(capacitors);
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
public Map<Location, EnergyNetComponent> getConsumers() {
|
||||
public @Nonnull Map<Location, EnergyNetComponent> getConsumers() {
|
||||
return Collections.unmodifiableMap(consumers);
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public String getId() {
|
||||
public @Nonnull String getId() {
|
||||
return "ENERGY_NETWORK";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user