In the case we're doing a copy entity disguise, try avoid failing a copy. Doesn't fix the underlying issue I believe.
This commit is contained in:
parent
18081cf1ba
commit
1a800f7ae3
@ -1022,8 +1022,12 @@ public class FlagWatcher {
|
||||
|
||||
@Deprecated
|
||||
public <Y> void setUnsafeData(MetaIndex<Y> id, Y value) {
|
||||
if (!id.getDefault().getClass().isInstance(value)) {
|
||||
setBackupValue(id, value);
|
||||
} else {
|
||||
setData(id, value);
|
||||
}
|
||||
}
|
||||
|
||||
protected <Y> void setData(MetaIndex<Y> id, Y value) {
|
||||
if (id == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user