mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2025-08-18 09:35:50 +00:00
Removed .DS_Store files, added support for 807a677e9a
This commit is contained in:
parent
8c07e8eba4
commit
36cb3b7cb5
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,10 +1,10 @@
|
|||||||
/bin/
|
bin/
|
||||||
/.git/
|
.git/
|
||||||
/.settings/
|
.settings/
|
||||||
/.classpath
|
.classpath
|
||||||
/.project
|
.project
|
||||||
target
|
target
|
||||||
.idea
|
.idea
|
||||||
*.iml
|
*.iml
|
||||||
/BetterRTP.wiki
|
BetterRTP.wiki
|
||||||
/BetterRTP
|
.DS_Store
|
2
pom.xml
2
pom.xml
@ -49,7 +49,7 @@
|
|||||||
<dependency> <!-- Spigot (this includes Spigot API, Bukkit API, Craftbukkit and NMS) -->
|
<dependency> <!-- Spigot (this includes Spigot API, Bukkit API, Craftbukkit and NMS) -->
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot</artifactId>
|
<artifactId>spigot</artifactId>
|
||||||
<version>1.14-R0.1-SNAPSHOT</version>
|
<version>1.15.2-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
BIN
src/main/java/.DS_Store
vendored
BIN
src/main/java/.DS_Store
vendored
Binary file not shown.
BIN
src/main/java/me/.DS_Store
vendored
BIN
src/main/java/me/.DS_Store
vendored
Binary file not shown.
BIN
src/main/java/me/SuperRonanCraft/.DS_Store
vendored
BIN
src/main/java/me/SuperRonanCraft/.DS_Store
vendored
Binary file not shown.
BIN
src/main/java/me/SuperRonanCraft/BetterRTP/.DS_Store
vendored
BIN
src/main/java/me/SuperRonanCraft/BetterRTP/.DS_Store
vendored
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) {
|
private Location getLocAtNormal(int x, int z, World world, Float yaw, Float pitch, PlayerWorld pWorld) {
|
||||||
int y = world.getHighestBlockYAt(x, z);
|
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()))
|
if (!badBlock(block, x, z, pWorld.getWorld(), pWorld.getBiomes()))
|
||||||
return new Location(world, (x + 0.5), y, (z + 0.5), yaw, pitch);
|
return new Location(world, (x + 0.5), y, (z + 0.5), yaw, pitch);
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user