This commit is contained in:
libraryaddict 2023-04-01 16:36:26 +13:00
parent a8a9006dd1
commit f6a54eea4a

View File

@ -2881,7 +2881,7 @@ public class DisguiseUtilities {
public static WrappedDataWatcher createDatawatcher(List<WatcherValue> watcherValues) {
WrappedDataWatcher watcher = new WrappedDataWatcher();
watcherValues.forEach(v -> watcher.setObject(v.getIndex(), ReflectionManager.createDataWatcherObject(v.getMetaIndex(), v.getValue())));
watcherValues.forEach(v -> watcher.setObject(ReflectionManager.createDataWatcherObject(v.getMetaIndex(), v.getValue()), v.getValue()));
return watcher;
}