Fix all warnings
Add and make use of Lombok Remove Mojang API Remove ZipFileUtils Remove StreamTools in favor of Apache IOUtils Keyframe should be abstract all derivatives final Replace clone in Keyframe with copy Move some constants from GuiReplaySetttings to GuiConstants
This commit is contained in:
@@ -1,18 +1,12 @@
|
||||
package eu.crushedpixel.replaymod.holders;
|
||||
|
||||
import java.util.Collection;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class PlayerVisibility {
|
||||
|
||||
public PlayerVisibility(Collection<UUID> hidden) {
|
||||
this.hidden = hidden.toArray(new UUID[hidden.size()]);
|
||||
}
|
||||
|
||||
private UUID[] hidden;
|
||||
|
||||
public UUID[] getHiddenPlayers() {
|
||||
return hidden;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user