Skip to content

Commit

Permalink
Remove Location -> Chunk Converter (#6302)
Browse files Browse the repository at this point in the history
Remove Location -> Chunk converter

Co-authored-by: Moderocky <admin@moderocky.com>
  • Loading branch information
NotSoDelayed and Moderocky authored Apr 8, 2024
1 parent 0bc7e21 commit ae7b01a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import ch.njol.skript.util.Experience;
import ch.njol.skript.util.slot.Slot;
import org.bukkit.Bukkit;
import org.bukkit.Chunk;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.OfflinePlayer;
Expand Down Expand Up @@ -178,9 +177,6 @@ public DefaultConverters() {}

Converters.registerConverter(String.class, World.class, Bukkit::getWorld);

// Location - Chunk
Converters.registerConverter(Location.class, Chunk.class, Location::getChunk);

// // Entity - String (UUID) // Very slow, thus disabled for now
// Converters.registerConverter(String.class, Entity.class, new Converter<String, Entity>() {
//
Expand Down

0 comments on commit ae7b01a

Please sign in to comment.