Skins Restorer plugin
#3
Code:
                Object ep = ReflectionUtil.invokeMethod(p.getClass(), p, "getHandle");
                Object profile = ReflectionUtil.invokeMethod(ep.getClass(), ep, "getProfile");
                Object propMap = ReflectionUtil.invokeMethod(profile.getClass(), profile, "getProperties");
                ReflectionUtil.invokeMethod(propMap, "clear");
                ReflectionUtil.invokeMethod(propMap.getClass(), propMap, "put", new Class[]{Object.class, Object.class}, "textures", props);


It seems like that this is some acres to the mojang code of spigot.     
I think in the end it comes down to those lines:
Reply
Thanks given by:


Messages In This Thread
Skins Restorer plugin - by NightVoid - 04-18-2021, 05:12 AM
RE: Skins Restorer plugin - by HeCorr - 04-18-2021, 08:20 AM
RE: Skins Restorer plugin - by 12xx12 - 04-18-2021, 01:43 PM
RE: Skins Restorer plugin - by HeCorr - 04-19-2021, 12:06 AM
RE: Skins Restorer plugin - by 12xx12 - 04-19-2021, 12:33 AM
RE: Skins Restorer plugin - by HeCorr - 04-19-2021, 01:43 AM



Users browsing this thread: 6 Guest(s)