Tiny tiny cleanup
This commit is contained in:
parent
34418ddab5
commit
ccb512a20b
@ -327,7 +327,6 @@ public class PacketsManager {
|
|||||||
private static WrappedDataWatcher createDataWatcher(WrappedDataWatcher watcher, FlagWatcher flagWatcher) {
|
private static WrappedDataWatcher createDataWatcher(WrappedDataWatcher watcher, FlagWatcher flagWatcher) {
|
||||||
WrappedDataWatcher newWatcher = new WrappedDataWatcher();
|
WrappedDataWatcher newWatcher = new WrappedDataWatcher();
|
||||||
try {
|
try {
|
||||||
// Calling c() gets the watchable objects exactly as they are.
|
|
||||||
List<WrappedWatchableObject> list = watcher.getWatchableObjects();
|
List<WrappedWatchableObject> list = watcher.getWatchableObjects();
|
||||||
for (WrappedWatchableObject watchableObject : flagWatcher.convert(list)) {
|
for (WrappedWatchableObject watchableObject : flagWatcher.convert(list)) {
|
||||||
newWatcher.setObject(watchableObject.getIndex(), watchableObject.getValue());
|
newWatcher.setObject(watchableObject.getIndex(), watchableObject.getValue());
|
||||||
@ -336,7 +335,6 @@ public class PacketsManager {
|
|||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
return newWatcher;
|
return newWatcher;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static byte getPitch(DisguiseType disguiseType, DisguiseType entityType, byte value) {
|
public static byte getPitch(DisguiseType disguiseType, DisguiseType entityType, byte value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user