mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-05-19 08:10:24 +00:00
Removed .DS_Store files, added support for https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/807a677e9a59929e27ac1991c3fa1cf6a2ec0f4d
This commit is contained in:
+7
-7
@@ -1,10 +1,10 @@
|
||||
/bin/
|
||||
/.git/
|
||||
/.settings/
|
||||
/.classpath
|
||||
/.project
|
||||
bin/
|
||||
.git/
|
||||
.settings/
|
||||
.classpath
|
||||
.project
|
||||
target
|
||||
.idea
|
||||
*.iml
|
||||
/BetterRTP.wiki
|
||||
/BetterRTP
|
||||
BetterRTP.wiki
|
||||
.DS_Store
|
||||
@@ -49,7 +49,7 @@
|
||||
<dependency> <!-- Spigot (this includes Spigot API, Bukkit API, Craftbukkit and NMS) -->
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot</artifactId>
|
||||
<version>1.14-R0.1-SNAPSHOT</version>
|
||||
<version>1.15.2-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -274,7 +274,7 @@ public class RTP {
|
||||
|
||||
private Location getLocAtNormal(int x, int z, World world, Float yaw, Float pitch, PlayerWorld pWorld) {
|
||||
int y = world.getHighestBlockYAt(x, z);
|
||||
String block = world.getBlockAt(x, y - 1, z).getType().name();
|
||||
String block = world.getBlockAt(x, y, z).getType().name();
|
||||
if (!badBlock(block, x, z, pWorld.getWorld(), pWorld.getBiomes()))
|
||||
return new Location(world, (x + 0.5), y, (z + 0.5), yaw, pitch);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user