mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-30 06:33:56 +01:00
Add build number to version
This commit is contained in:
parent
a67ddbe66c
commit
85759d8ac7
@ -116,12 +116,12 @@ public class NMS {
|
|||||||
BlockFace dir = Util.getFacingDirection(entity.yaw);
|
BlockFace dir = Util.getFacingDirection(entity.yaw);
|
||||||
int[] typeIds = { below };
|
int[] typeIds = { below };
|
||||||
if (dir != BlockFace.SELF) {
|
if (dir != BlockFace.SELF) {
|
||||||
|
int modX = x + dir.getModX(), modY = y + dir.getModY(), modZ = y + dir.getModZ();
|
||||||
typeIds = Ints.concat(
|
typeIds = Ints.concat(
|
||||||
typeIds,
|
typeIds,
|
||||||
new int[] {
|
new int[] { entity.world.getTypeId(modX, modY, modZ),
|
||||||
entity.world.getTypeId(x + dir.getModX(), y + dir.getModY(), z + dir.getModZ()),
|
entity.world.getTypeId(modX, modY + 1, modZ),
|
||||||
entity.world.getTypeId(x + dir.getModX(), y + dir.getModY() + 1,
|
entity.world.getTypeId(modX, modY + 2, modZ) });
|
||||||
z + dir.getModZ()) });
|
|
||||||
}
|
}
|
||||||
if (containsAny(STAIR_MATERIALS, typeIds)) {
|
if (containsAny(STAIR_MATERIALS, typeIds)) {
|
||||||
entity.motY = 0.47F;
|
entity.motY = 0.47F;
|
||||||
@ -311,6 +311,7 @@ public class NMS {
|
|||||||
Messaging.logTr(Messages.ERROR_UPDATING_PATHFINDING_RANGE, e.getMessage());
|
Messaging.logTr(Messages.ERROR_UPDATING_PATHFINDING_RANGE, e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static {
|
static {
|
||||||
// true field above false and three synchronised lists
|
// true field above false and three synchronised lists
|
||||||
THREAD_STOPPER = getField(NetworkManager.class, "m");
|
THREAD_STOPPER = getField(NetworkManager.class, "m");
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: Citizens
|
name: Citizens
|
||||||
authors: [aPunch, fullwall]
|
authors: [aPunch, fullwall]
|
||||||
softdepend: [Vault]
|
softdepend: [Vault]
|
||||||
version: 2.0.4
|
version: ${project.version} (build ${BUILD_NUMBER})
|
||||||
main: net.citizensnpcs.Citizens
|
main: net.citizensnpcs.Citizens
|
||||||
website: http://www.citizensnpcs.com
|
website: http://www.citizensnpcs.com
|
||||||
commands:
|
commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user