Fix flag watcher not working, fix error with gethandle

This commit is contained in:
libraryaddict
2013-11-19 08:48:26 +13:00
parent 4e101c3ec6
commit e02e1c9e6b
4 changed files with 7 additions and 7 deletions

View File

@@ -186,7 +186,7 @@ public class LibsDisguises extends JavaPlugin {
WrappedDataWatcher dataWatcher = WrappedDataWatcher.getEntityWatcher(bukkitEntity);
List<WrappedWatchableObject> watchers = dataWatcher.getWatchableObjects();
for (WrappedWatchableObject watch : watchers)
value.setMetaValue(watch.getTypeID(), watch.getValue());
value.setMetaValue(watch.getIndex(), watch.getValue());
DisguiseSound sound = DisguiseSound.getType(disguiseType.name());
if (sound != null) {
Float soundStrength = ReflectionManager.getSoundModifier(entity);