ProtocolLib

3M Downloads

Can't import wrappeddatawatcher.registry

Binjabin opened this issue ยท 2 comments

commented
  • This issue is not solved in a development build

I get an error when trying to import

com.comphenix.protocol.wrappers.WrappedDataWatcher.Registry

Screenshots
If applicable, add screenshots to help explain your problem.

I am using the most recent devbuild of protocol library.

image

commented

I am using skript reflect which shouldn't be the reason for the issue.

Here is my import code.

import:
	com.comphenix.protocol.PacketType
	com.comphenix.protocol.wrappers.EnumWrappers$PlayerInfoAction
	com.comphenix.protocol.wrappers.EnumWrappers$NativeGameMode
	com.comphenix.protocol.ProtocolLibrary
	com.comphenix.protocol.wrappers.PlayerInfoData
	com.comphenix.protocol.wrappers.WrappedGameProfile
	com.comphenix.protocol.wrappers.WrappedChatComponent
	com.comphenix.protocol.reflect.StructureModifier
	com.comphenix.protocol.events.PacketContainer
	com.comphenix.protocol.ProtocolManager
	com.comphenix.protocol.events.ListenerPriority
	com.comphenix.protocol.events.PacketAdapter
	com.comphenix.protocol.events.PacketEvent
	com.comphenix.protocol.events.AbstractStructure
	com.comphenix.protocol.wrappers.WrappedSignedProperty
	com.comphenix.protocol.wrappers.WrappedDataWatcher
	com.comphenix.protocol.wrappers.WrappedDataValue
	com.comphenix.protocol.wrappers.WrappedDataWatcher.Registry
	
	org.json.simple.JSONArray
	org.json.simple.JSONObject
	org.json.simple.parser.JSONParser

	it.unimi.dsi.fastutil.ints.IntList

	org.bukkit.Bukkit

	net.minecraft.world.effect.MobEffectList
	net.minecraft.world.effect.MobEffects

	com.mojang.authlib.GameProfile
	com.mojang.authlib.properties.Property
	

	java.util.UUID
	java.util.Collections
	java.util.EnumSet
	java.util.List
	java.util.Arrays
	java.net.URL
	java.net.URLConnection
	java.util.Map
	org.apache.commons.io.IOUtils

	com.google.common.base.Objects
	com.google.gson.Gson
	com.google.gson.JsonObject
	com.google.common.collect.Lists
commented

You may need to use a dollar sign, so com.comphenix.protocol.wrappers.WrappedDataWatcher$Registry