mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Fix item amount bug
Former-commit-id: dea0f458444c8b8ebe5fe979967ac00bdb858fa9 [formerly 0630885d1384ec41b445e1c1e8c5846544572d96] Former-commit-id: 3217f0ae25a2c6962982602aab52cf83af51ddd4
This commit is contained in:
1 parent
2b987c231b
commit
8df97fcc53
1 file changed
+1
@@ -30,6 +30,7 @@ public class RealDisplayItem implements DisplayItem {
|
||||
RealDisplayItem(@NotNull Shop shop) {
|
||||
this.shop = shop;
|
||||
this.originalItemStack = shop.getItem().clone();
|
||||
this.originalItemStack.setAmount(1);
|
||||
|
||||
// this.displayLoc = shop.getLocation().clone().add(0.5, 1.2, 0.5);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user