Skip to content

Commit

Permalink
Remove accidentally commited random code (srsly what is this?!)
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Feb 10, 2025
1 parent 5d3f98c commit 428dc40
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.metadata.MetadataValue;
import org.bukkit.potion.PotionEffectType;

import java.util.*;
import java.util.EnumMap;
import java.util.Map;
import java.util.UUID;

public class BukkitPlayer extends Player {

Expand All @@ -63,12 +64,6 @@ public class BukkitPlayer extends Player {
public BukkitPlayer(UUID playerUUID) {
this.uuid = playerUUID;
update();

Material[] bestItems = Arrays.stream( Material.values() )
.filter( Material::isItem )
.sorted( Comparator.comparing( Material::isEdible, Boolean::compare ) )
.toArray( Material[]::new );

}

@Override
Expand Down

0 comments on commit 428dc40

Please sign in to comment.