mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@92f872c Fix bad diff in wandering trader spawn rate patch from .4 update PaperMC/Paper@9087a64 chore: cleanup annotations in api adventure patch PaperMC/Paper@23b0ef5 [ci skip] rebuild patches PaperMC/Paper@a0f548f Don't warn for deprecated PrepareGrindstoneEvent (#9036) PaperMC/Paper@38be4f8 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9018) PaperMC/Paper@d5abb94 Expose Path to jar file in PluginProviderContext (#9030)
20 lines
895 B
Diff
20 lines
895 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
|
Date: Tue, 23 Jul 2019 06:50:55 -0500
|
|
Subject: [PATCH] Allow inventory resizing
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/event/inventory/InventoryType.java b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
index 94f127fd6ba69ca48d03acbc9886ee499e9be4f3..1f958facfed766c401144b840e4369154c71d3c2 100644
|
|
--- a/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
+++ b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
@@ -152,7 +152,7 @@ public enum InventoryType {
|
|
SMITHING_NEW(4, "Upgrade Gear"),
|
|
;
|
|
|
|
- private final int size;
|
|
+ private int size; public void setDefaultSize(int size) { this.size = size; } // Purpur - remove final and add setter
|
|
private final String title;
|
|
private final boolean isCreatable;
|
|
|