1
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:
JustAHuman-xD 2023-02-10 16:03:37 -06:00 committed by GitHub
parent e7372064d5
commit 29757f1379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}