mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-08 22:59:29 -04:00
Fix rank permissions box in GUI incorrectly allowing you to use permissions below -20
This commit is contained in:
parent
a04f42f9ab
commit
e5b1e9425d
2
GUI/PropertyWindow/PropertyWindow.Designer.cs
generated
2
GUI/PropertyWindow/PropertyWindow.Designer.cs
generated
@ -1174,7 +1174,7 @@ namespace MCGalaxy.Gui
|
||||
0,
|
||||
0});
|
||||
this.rank_numPerm.Minimum = new decimal(new int[] {
|
||||
50,
|
||||
20,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
|
@ -30,7 +30,7 @@ namespace MCGalaxy {
|
||||
public sealed partial class Group {
|
||||
|
||||
public static Group BannedRank { get { return Find(LevelPermission.Banned); } }
|
||||
public static Group GuestRank { get { return Find(LevelPermission.Guest); } }
|
||||
public static Group GuestRank { get { return Find(LevelPermission.Guest); } }
|
||||
public static Group NobodyRank { get { return Find(LevelPermission.Nobody); } }
|
||||
public static Group DefaultRank;
|
||||
public static List<Group> GroupList = new List<Group>();
|
||||
|
@ -334,8 +334,8 @@ namespace MCGalaxy {
|
||||
}
|
||||
|
||||
/// <summary> Sends a block change packet to the user containing the current block at the given coordinates. </summary>
|
||||
/// <remarks> Vanilla client always assumes block place/delete succeeds, so this method is usually used to echo back the
|
||||
/// old block. (e.g. due to insufficient permission to change that block, used as mark for draw operations) </remarks>
|
||||
/// <remarks> Vanilla client always assumes block place/delete succeeds, so this is usually used to echo back the
|
||||
/// old block. (e.g. insufficient permission to change that block, used as mark for draw operations) </remarks>
|
||||
public void RevertBlock(ushort x, ushort y, ushort z) {
|
||||
SendBlockchange(x, y, z, level.GetBlock(x, y, z));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user