mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-29 23:17:59 +02:00
Add comment about ItemMetaBuilder#clone
This commit is contained in:
parent
d1d973018e
commit
d34d3a2b50
@ -144,6 +144,7 @@ public abstract class ItemMetaBuilder implements Cloneable {
|
|||||||
deepClone(builder);
|
deepClone(builder);
|
||||||
return builder;
|
return builder;
|
||||||
} catch (CloneNotSupportedException e) {
|
} catch (CloneNotSupportedException e) {
|
||||||
|
// Should never happen, because ItemMetaBuilder implements Cloneable
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
throw new UnsupportedOperationException("Weird thing happened");
|
throw new UnsupportedOperationException("Weird thing happened");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user