mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2025-01-12 00:24:27 +08:00
修复了缩小方向错误问题
This commit is contained in:
parent
93b6759f9d
commit
61fc01981b
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>Dominion</artifactId>
|
||||
<version>1.11.0-beta</version>
|
||||
<version>1.11.1-beta</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Dominion</name>
|
||||
|
@ -267,16 +267,16 @@ public class DominionController {
|
||||
Integer y2 = dominion.getY2();
|
||||
Integer z2 = dominion.getZ2();
|
||||
switch (face) {
|
||||
case NORTH:
|
||||
case SOUTH:
|
||||
z2 -= size;
|
||||
break;
|
||||
case SOUTH:
|
||||
case NORTH:
|
||||
z1 += size;
|
||||
break;
|
||||
case WEST:
|
||||
case EAST:
|
||||
x2 -= size;
|
||||
break;
|
||||
case EAST:
|
||||
case WEST:
|
||||
x1 += size;
|
||||
break;
|
||||
case UP:
|
||||
|
Loading…
Reference in New Issue
Block a user