mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-29 23:17:59 +02:00
Unnecessary null parameter
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
9717e54aac
commit
d18f07dcd5
@ -44,7 +44,7 @@ public class Tag<T> {
|
|||||||
} catch (NBTException e) {
|
} catch (NBTException e) {
|
||||||
MinecraftServer.getExceptionManager().handleException(e);
|
MinecraftServer.getExceptionManager().handleException(e);
|
||||||
}
|
}
|
||||||
}, null);
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles the complete tag holder compound.
|
* Handles the complete tag holder compound.
|
||||||
@ -55,7 +55,7 @@ public class Tag<T> {
|
|||||||
public static final Tag<NBTCompound> NBT = new Tag<>(null, NBTCompoundLike::toCompound, (original, updated) -> {
|
public static final Tag<NBTCompound> NBT = new Tag<>(null, NBTCompoundLike::toCompound, (original, updated) -> {
|
||||||
original.clear();
|
original.clear();
|
||||||
updated.forEach(original::set);
|
updated.forEach(original::set);
|
||||||
}, null);
|
});
|
||||||
|
|
||||||
private final String key;
|
private final String key;
|
||||||
private final Function<NBTCompoundLike, T> readFunction;
|
private final Function<NBTCompoundLike, T> readFunction;
|
||||||
|
Loading…
Reference in New Issue
Block a user