Paper/nms-patches/ItemCooldown.patch
2017-04-19 18:04:32 +10:00

27 Zeilen
718 B
Diff

--- a/net/minecraft/server/ItemCooldown.java
+++ b/net/minecraft/server/ItemCooldown.java
@@ -7,8 +7,8 @@
public class ItemCooldown {
- private final Map<Item, ItemCooldown.Info> a = Maps.newHashMap();
- private int b;
+ public final Map<Item, ItemCooldown.Info> a = Maps.newHashMap(); // PAIL: private->public
+ public int b; // PAIL: currentTick, private->public
public ItemCooldown() {}
@@ -55,10 +55,10 @@
protected void c(Item item) {}
- class Info {
+ public class Info { // PAIL: private->public
final int a;
- final int b;
+ public final int b; // PAIL: endTick, private->public
private Info(int i, int j) {
this.a = i;