Made packet adapters final

This commit is contained in:
BuildTools 2020-09-21 14:31:02 +01:00
parent f23a58b376
commit 31986f256c
4 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ import org.bukkit.inventory.MerchantRecipe;
import java.util.List; import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
public class PacketOpenWindowMerchant extends AbstractPacketAdapter { public final class PacketOpenWindowMerchant extends AbstractPacketAdapter {
private PacketOpenWindowMerchant() { private PacketOpenWindowMerchant() {
super(PacketType.Play.Server.OPEN_WINDOW_MERCHANT); super(PacketType.Play.Server.OPEN_WINDOW_MERCHANT);
} }

View File

@ -5,7 +5,7 @@ import com.comphenix.protocol.events.PacketContainer;
import com.willfp.ecoenchants.display.AbstractPacketAdapter; import com.willfp.ecoenchants.display.AbstractPacketAdapter;
import com.willfp.ecoenchants.display.EnchantDisplay; import com.willfp.ecoenchants.display.EnchantDisplay;
public class PacketSetCreativeSlot extends AbstractPacketAdapter { public final class PacketSetCreativeSlot extends AbstractPacketAdapter {
private PacketSetCreativeSlot() { private PacketSetCreativeSlot() {
super(PacketType.Play.Client.SET_CREATIVE_SLOT); super(PacketType.Play.Client.SET_CREATIVE_SLOT);
} }

View File

@ -5,7 +5,7 @@ import com.comphenix.protocol.events.PacketContainer;
import com.willfp.ecoenchants.display.AbstractPacketAdapter; import com.willfp.ecoenchants.display.AbstractPacketAdapter;
import com.willfp.ecoenchants.display.EnchantDisplay; import com.willfp.ecoenchants.display.EnchantDisplay;
public class PacketSetSlot extends AbstractPacketAdapter { public final class PacketSetSlot extends AbstractPacketAdapter {
private PacketSetSlot() { private PacketSetSlot() {
super(PacketType.Play.Server.SET_SLOT); super(PacketType.Play.Server.SET_SLOT);
} }

View File

@ -5,7 +5,7 @@ import com.comphenix.protocol.events.PacketContainer;
import com.willfp.ecoenchants.display.AbstractPacketAdapter; import com.willfp.ecoenchants.display.AbstractPacketAdapter;
import com.willfp.ecoenchants.display.EnchantDisplay; import com.willfp.ecoenchants.display.EnchantDisplay;
public class PacketWindowItems extends AbstractPacketAdapter { public final class PacketWindowItems extends AbstractPacketAdapter {
private PacketWindowItems() { private PacketWindowItems() {
super(PacketType.Play.Server.WINDOW_ITEMS); super(PacketType.Play.Server.WINDOW_ITEMS);
} }