Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
shut test failing to compile up
  • Loading branch information
FireInstall committed Jun 11, 2024
1 parent 48b844f commit d1f778f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
16 changes: 8 additions & 8 deletions Minigames/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<dependency>
<groupId>com.github.seeseemelk</groupId>
<artifactId>MockBukkit-v1.20</artifactId>
<version>3.9.0</version>
<version>3.87.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -87,15 +87,15 @@
</exclusions>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>8.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.41.2.1</version>
<version>3.46.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -104,21 +104,21 @@
<version>2.11.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<dependency> <!-- todo this adds vulnerable dependencies! -->
<groupId>org.kitteh</groupId>
<artifactId>paste-gg-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
<version>3.14.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.SoundGroup;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.BlockSupport;
import org.bukkit.block.PistonMoveReaction;
import org.bukkit.block.*;
import org.bukkit.block.data.BlockData;
import org.bukkit.block.structure.Mirror;
import org.bukkit.block.structure.StructureRotation;
Expand Down Expand Up @@ -142,6 +139,14 @@ public void mirror(@NotNull Mirror mirror) {

}

public @NotNull BlockState createBlockState() {
return null;
}

public float getDestroySpeed(@NotNull ItemStack itemStack, boolean b) {
return 0;
}

@Override
public boolean isRandomlyTicked() {
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,8 @@ public void setColor(DyeColor color) {
public @NotNull SignSide getSide(@NotNull Side side) {
return null;
}

public @NotNull Side getInteractableSideFor(double v, double v1) {
return null;
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>24.0.0</version>
<version>24.1.0</version>
<scope>provided</scope>
<!-- no runtime features are used-->
</dependency>
Expand Down

0 comments on commit d1f778f

Please sign in to comment.