diff options
| author | ghostflyby <ghostflyby@outlook.com> | 2023-11-08 22:17:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-08 22:17:00 +0800 |
| commit | 3444f528c31ed2dd0f6b18a529ad4a2c14897188 (patch) | |
| tree | aec387815aa3d7a54c1860eb287229a4926c1865 /src/main/java/gregtech/common/entities | |
| parent | 86c14f89da55b39ef7a9c850e9a1f303c5274cf4 (diff) | |
| download | GT5-Unofficial-3444f528c31ed2dd0f6b18a529ad4a2c14897188.tar.gz GT5-Unofficial-3444f528c31ed2dd0f6b18a529ad4a2c14897188.tar.bz2 GT5-Unofficial-3444f528c31ed2dd0f6b18a529ad4a2c14897188.zip | |
Migrate to non-Object version Utility methods (#2359)
A few calls restricted by other methods and interfaces are left untouched.
Diffstat (limited to 'src/main/java/gregtech/common/entities')
| -rw-r--r-- | src/main/java/gregtech/common/entities/GT_Entity_Arrow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/entities/GT_Entity_Arrow.java b/src/main/java/gregtech/common/entities/GT_Entity_Arrow.java index 5fd35bb8f5..758888c720 100644 --- a/src/main/java/gregtech/common/entities/GT_Entity_Arrow.java +++ b/src/main/java/gregtech/common/entities/GT_Entity_Arrow.java @@ -424,7 +424,7 @@ public class GT_Entity_Arrow extends EntityArrow { } public void setArrowItem(ItemStack aStack) { - this.mArrow = GT_Utility.updateItemStack(GT_Utility.copyAmount(1L, aStack)); + this.mArrow = GT_Utility.updateItemStack(GT_Utility.copyAmount(1, aStack)); } public boolean breaksOnImpact() { |
