fix more compile errors

This commit is contained in:
Jake Potrebic
2023-03-14 16:10:18 -07:00
parent e277e6a990
commit 8b4edb6f19
22 changed files with 90 additions and 71 deletions

View File

@@ -779,12 +779,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ @Override
+ public int getPickupCooldown() {
+ return this.getHandle().cooldownTime;
+ throw new UnsupportedOperationException("Hopper minecarts don't have cooldowns");
+ }
+
+ @Override
+ public void setPickupCooldown(int cooldown) {
+ this.getHandle().setCooldown(cooldown);
+ throw new UnsupportedOperationException("Hopper minecarts don't have cooldowns");
+ }
+ // Paper end
}