File tree 12 files changed +165
-4
lines changed
src/main/java/org/blockserver/core
12 files changed +165
-4
lines changed Original file line number Diff line number Diff line change 2
2
<additionalHeaders >
3
3
<javadoc_style >
4
4
<firstLine >/*</firstLine >
5
- <beforeEachLine >* </beforeEachLine >
6
- <endLine >*/</endLine >
5
+ <beforeEachLine > * </beforeEachLine >
6
+ <endLine > */</endLine >
7
7
<!-- <afterEachLine></afterEachLine>-->
8
8
<!-- skipLine></skipLine-->
9
9
<firstLineDetectionPattern >(\s|\t)*/\*.*$</firstLineDetectionPattern >
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .message .block ;
2
18
3
19
import org .blockserver .core .message .player .MessagePlayer ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .network ;
2
18
3
19
/*
Original file line number Diff line number Diff line change 18
18
19
19
import lombok .Getter ;
20
20
import org .blockserver .core .Server ;
21
+ import org .blockserver .core .message .Message ;
22
+ import org .blockserver .core .modules .logging .LoggingModule ;
21
23
22
24
import java .net .InetSocketAddress ;
23
25
@@ -32,7 +34,6 @@ public class Player extends InetSocketAddress {
32
34
public Player (Server server , InetSocketAddress address ) {
33
35
super (address .getAddress (), address .getPort ());
34
36
this .server = server ;
35
- this .address = address ;
36
37
}
37
38
38
39
public void sendMessage (Message message ) {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world ;
2
18
3
19
import lombok .Getter ;
@@ -21,7 +37,7 @@ public void setLightLevel(byte lightLevel) {
21
37
public void setMaterial (Material material ) {
22
38
this .material = material ;
23
39
for (Player player : world .getPlayers ()) {
24
- player .sendMessage (new MessageOutBlockChange (player . getAddress () )); //TODO: Material
40
+ player .sendMessage (new MessageOutBlockChange (player , this )); //TODO: Material
25
41
}
26
42
}
27
43
}
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world ;
2
18
3
19
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world ;
2
18
3
19
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world ;
2
18
3
19
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world ;
2
18
3
19
import lombok .Getter ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world ;
2
18
3
19
import org .blockserver .core .Server ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world .positions ;
2
18
3
19
import lombok .Getter ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file is part of BlockServer.
3
+ *
4
+ * BlockServer is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Lesser General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * BlockServer is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with BlockServer. If not, see <http://www.gnu.org/licenses/>.
16
+ */
1
17
package org .blockserver .core .modules .world .positions ;
2
18
3
19
import lombok .Getter ;
You can’t perform that action at this time.
0 commit comments