mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
fix more compile errors
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user