mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-04 20:06:06 +00:00
Fix issue with scaling transforms on blocks.
This commit is contained in:
parent
ceec170be9
commit
52f1a7d2d4
@ -155,7 +155,7 @@ public class BlockTransformExtent extends AbstractDelegateExtent {
|
||||
*/
|
||||
@Nullable
|
||||
private static StateValue getNewStateValue(State state, Transform transform, Vector oldDirection) {
|
||||
Vector newDirection = transform.apply(oldDirection).normalize();
|
||||
Vector newDirection = transform.apply(oldDirection).subtract(transform.apply(Vector.ZERO)).normalize();
|
||||
StateValue newValue = null;
|
||||
double closest = -2;
|
||||
boolean found = false;
|
||||
|
Loading…
Reference in New Issue
Block a user